Forum: iOS

Here is a forum space for Client: iOS.

24. Critical: iOS. Can not compile for release. Missing architecture(arm7)

I am tring to build release Archive, but failed with following errors:

ld: warning: directory not found for option '-F/Users/vito/Documents/RapidoTaxi-iOS/RegistrationModule/Framework'
ld: warning: ignoring file /Users/vito/Documents/RapidoTaxi-iOS/RapidoTaxi/PTT/libProPTTSDK.a, file was built for archive which is not the architecture being linked (armv7): /Users/vito/Documents/RapidoTaxi-iOS/RapidoTaxi/PTT/libProPTTSDK.a
Undefined symbols for architecture armv7:
  "_OBJC_CLASS_$_PTTChannel", referenced from:
      objc-class-ref in PTTManager.o
  "_OBJC_CLASS_$_PTTClient", referenced from:
      objc-class-ref in PTTService.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Need your assistance asap.
Thank you

Jun 24 '18 at 09:18 (GMT0) created by Vitaliy Abramov

For now its fixed by limiting compile Architecture to "amr64".
Hope this temporary solution will be accepted by Apple.

Jun 24 '18 at 16:08 (GMT0) created by Vitaliy Abramov

We are using below options.
Architectures: Standard Architectures(armv7, arm64) - $(ARCHS_STANDARD)
Valid Architectures: arm64 armv7 armv7s

Jun 25 '18 at 07:45 (GMT0) created by ProPTT2 dev

This option is not working for me.
In our project we use Swift so arm7s is mandatory, but if i use arm64 + armv7s, i have missing references errors for PODs third party libs.

Jun 25 '18 at 12:14 (GMT0) created by Vitaliy Abramov