Skip to content
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

Open
animeshk-1968 opened this issue Apr 18, 2016 · 3 comments
Open

iOS build failure #347

animeshk-1968 opened this issue Apr 18, 2016 · 3 comments
Labels

Comments

@animeshk-1968
Copy link

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)

@greenfire27
Copy link
Contributor

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.

@animeshk-1968
Copy link
Author

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?

@Juason
Copy link

Juason commented Apr 20, 2016

I have built and deployed to an iPhone 6 and 6s using 1 or 2 versions of
T2D back and iOS 9.1. The newest head was not building due to OGG problems
and some other things I didn't have time to better understand... and I
didn't want to add iOS 9.3 into the mix just yet. Will try to get the
build process verified this weekend when I have more time.

  • Jason / Kodius

On Wed, Apr 20, 2016 at 2:03 PM, animeshk-1968 [email protected]
wrote:

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?


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#347 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants