Reid Main
Reid Main

Reputation: 3404

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?

Upvotes: 16

Views: 5504

Answers (1)

Cameron
Cameron

Reputation: 1142

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.

Upvotes: 9

Related Questions