-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
iOS build failure #347
Comments
Looks like a problem with the png library not working with iOS for some reason. The png library was updated in 3.2. Is this the first time you've tried debugging on your phone? Can anyone confirm that it works for them on an actual iOS device? This might take some research to solve. |
In the past, I've had no problem building Torque2d and launching it on an iPhone, but I do not believe I have ever run it on an iPhone 6+. I was wondering if this was a 64-bit issue: has anyone run this on an iPhone 5s or later? |
I have built and deployed to an iPhone 6 and 6s using 1 or 2 versions of
On Wed, Apr 20, 2016 at 2:03 PM, animeshk-1968 [email protected]
|
iOS build works fine when I debug using a simulator. When I try to debug on my iOS device (iPhone 6+), I get an error:
Ld /Users/akarna200/Library/Developer/Xcode/DerivedData/Torque2D-heluacallxgzdlfjdjaehbetrknl/Build/Products/Debug-iphoneos/Torque2D.app/Torque2D normal arm64
cd /Users/akarna200/Documents/torque2d/engine/compilers/Xcode_iOS
export IPHONEOS_DEPLOYMENT_TARGET=6.0
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.3.sdk -L/Users/akarna200/Library/Developer/Xcode/DerivedData/Torque2D-heluacallxgzdlfjdjaehbetrknl/Build/Products/Debug-iphoneos -F/Users/akarna200/Library/Developer/Xcode/DerivedData/Torque2D-heluacallxgzdlfjdjaehbetrknl/Build/Products/Debug-iphoneos -filelist /Users/akarna200/Library/Developer/Xcode/DerivedData/Torque2D-heluacallxgzdlfjdjaehbetrknl/Build/Intermediates/Torque2D.build/Debug-iphoneos/Torque2D.build/Objects-normal/arm64/Torque2D.LinkFileList -miphoneos-version-min=6.0 -dead_strip -Xlinker -no_deduplicate -fembed-bitcode-marker -stdlib=libc++ -fobjc-arc -fobjc-link-runtime -framework CoreText -framework GLKit -framework AudioToolbox -framework AVFoundation -framework CoreAudio -framework CoreFoundation -framework CoreImage -framework CoreMedia -framework CoreMotion -framework CoreVideo -lz -framework MediaPlayer -framework OpenAL -framework OpenGLES -framework QuartzCore -framework UIKit -framework Foundation -framework CoreGraphics -Xlinker -dependency_info -Xlinker /Users/akarna200/Library/Developer/Xcode/DerivedData/Torque2D-heluacallxgzdlfjdjaehbetrknl/Build/Intermediates/Torque2D.build/Debug-iphoneos/Torque2D.build/Objects-normal/arm64/Torque2D_dependency_info.dat -o /Users/akarna200/Library/Developer/Xcode/DerivedData/Torque2D-heluacallxgzdlfjdjaehbetrknl/Build/Products/Debug-iphoneos/Torque2D.app/Torque2D
Undefined symbols for architecture arm64:
"_png_init_filter_functions_neon", referenced from:
_png_init_filter_functions in pngrutil.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
The text was updated successfully, but these errors were encountered: