Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can you make Xcode 5.1 target dependencies build only valid architectures?

With Xcode 5.1 Apple has made $(ARCHS_STANDARD) include arm64. If your project does not support arm64 you can simply change the architecture build setting to $(ARCHS_STANDARD_32_BIT) and it will not build arm64.

However if you have a target dependency that uses $(ARCHS_STANDARD) it will build arm64 and you will get an error because your project is expecting symbols that are not arm64.

Is there a way to make your target dependency aware what you are building against so it will build the valid architecture?

like image 789
Reid Main Avatar asked Mar 11 '14 17:03

Reid Main


1 Answers

Our quick fix was to leave the Architectures entry as $(ARCHS_STANDARD) but change Valid Architectures to armv7 and armv7s until the third party libraries we're using are updated.

like image 105
Cameron Avatar answered Sep 30 '22 18:09

Cameron