You Won't Believe What Got Broken In AppleTV Beta 3

Originator:keithbsmiley
Number:rdar://23933398 Date Originated:16-Dec-2015 10:47 PM
Status:Duplicate of 22993940 (open) Resolved:
Product:iOS SDK Product Version:Xcode 7.1 beta 3 (Apple TV)
Classification:Serious Bug Reproducible:Always
 
This is a duplicate of rdar://22993940

Summary:
Surprise: something else is broken!
In this episode of “What’s broken in Appleland?” we’ll cover the mysterious case of building AppleTV frameworks.

Steps to Reproduce:
- Create a project (I recommend googling for StackOverflow posts that explain how to do this)
- Add an AppleTV framework target.
- Compile target in Release mode from the command line (using Carthage, for example).

Expected Results:
- Build succeeds, although this .framework is completely useless (see rdar://22967941 for more details)

Actual Results:
- SURPRISE!! It doesn’t. Xcode spits out tons of errors like:
  - /Applications/Xcode-beta.app/Contents/Developer/Platforms/AppleTVSimulator.platform/Developer/SDKs/AppleTVSimulator9.0.sdk/usr/include/sys/cdefs.h:707:2: error: Unsupported architecture
#error Unsupported architecture
  - /Applications/Xcode-beta.app/Contents/Developer/Platforms/AppleTVSimulator.platform/Developer/SDKs/AppleTVSimulator9.0.sdk/usr/include/_types.h:42:9: error: unknown type name '__uint32_t'
typedef __uint32_t      __darwin_wctype_t;
  - ld: warning: Auto-Linking supplied '/Applications/Xcode-beta.app/Contents/Developer/Platforms/AppleTVSimulator.platform/Developer/SDKs/AppleTVSimulator9.0.sdk/usr/lib/libobjc.dylib', file was built for x86_64 which is not the architecture being linked (arm64): /Applications/Xcode-beta.app/Contents/Developer/Platforms/AppleTVSimulator.platform/Developer/SDKs/AppleTVSimulator9.0.sdk/usr/lib/libobjc.dylib

Regression:
This worked in beta 2… (though everything that was previously broken is still broken!)

Notes:
I have no idea if this is a known issue because at the time of this writing the release notes have not been published yet.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!