I just create a total new template project and try to archive it ( I didn't write any code, just create a project by default), choose the generic ios device, but many swift compile error appeared , the build and run in simulators are definitely normal, the error are like below:
/Users/apple/Downloads/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityViewController.h:18:85: Attempting to use the forward class 'UIViewController' as superclass of 'UIActivityViewController'
/Users/apple/Downloads/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:33:60: Attempting to use the forward class 'UIViewController' as superclass of 'UIAlertController'
Does anyone meet this issue?
I am grateful for anyone to give me some clues to solve this.