Working well in xcode 32-bit architecture. If i had arm64 architecture into the project it shows the following error
linked command failed with exit xcode 1
ignoring file /Users/edward/Documents/selva/projects/IAmThatIAmV3.0/api/lib/libfmodexL_iphonesimulator.a, file was built for archive which is not the architecture being linked (x86_64): /Users/edward/Documents/selva/projects/IAmThatIAmV3.0/api/lib/libfmodexL_iphonesimulator.a
Please help me .Thanks in advance.
- You must login to post comments
arm64 can only be used for devices and x86_64 can only be used for the simulator. It looks like the two may be mixed up in your project? Can you confirm?
- Yes, FMOD supports 64bit on iOS. Make sure you are linking the "_iphoneos" library not the "_iphonesimulator" library when compiling for the device.
- Thank you, but i do not know where to give the link I have the following files inside my project folder ../project/api/lib libfmodexL_iphoneos.a,libfmodexL_iphonesimulator.a,libfmodex_iphoneos.a, libfmodex_iphonesimulator.a,libfmodex.dylib which file should i choose and where should i give the link? I am using the latest os yosemite.
- Working well in iphone. what should i do to run in simulator?
- When linking the FMOD library you can use -lfmod_$PLATFORM_NAME the variable $PLATFORM_NAME will resolve to "iphoneos" when building for the device and "iphonesimulator" when building for the simulator.
- I use -lfmod_$PLATFORM_NAME only but it is not working.
Please login first to submit.