kstenerud / ObjectAL-for-iPhone

Mac and iOS Audio development, minus the headache. ObjectAL is the easy Objective-C interface to OpenAL, AVAudioPlayer, and audio session management.
http://kstenerud.github.com/ObjectAL-for-iPhone
886 stars 171 forks source link

Crash in Xcode SDK 11 #103

Open yomanx opened 6 years ago

yomanx commented 6 years ago

Hi friends,

Crash found, when i try to build project to the AppStore without connecting the device, i get this crash:

2017-09-22 16 54 49

But when i try to build on my device - all is ok

teresapv commented 6 years ago

Hi!! I have the same problem, can you fix it? We have been trying to fix it for more than a week :(

Undefined symbols for architecture armv7:
  "_OBJC_CLASS_$_OALSimpleAudio", referenced from:
      objc-class-ref in libcocos2d.a(CCActionInstant.o)
      objc-class-ref in libcocos2d.a(CCAppDelegate.o)
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
smuriana commented 6 years ago

+1 I have the same problem when I try to build project to the AppStore, also I have the same issue with build for old iPad but work correctly in iPhone and new iPad (model MD791TY/A)

streem-ua commented 6 years ago

Hello! Does someone solved that issue? @yomanx @smuriana @teresapv

streem-ua commented 6 years ago

Ok, maybe for someone it will be helpful. In xcode 9+ apple team removed support of armv7(old devices like iphone 4\4s, some ipads etc.) for Base SDK 11.0+ So if you want OALSimpleAudio to compile properly for armv7 you have 2 ways:

  1. Downgrade to xcode 8 with base sdk < 11.0
  2. Install manually base sdk < 11.0 in xcode 9