Dear All,

Ever since I copied my Obj-C / Swift project and added it to a new workspace, 
MyApp-Swift.h no longer contains anything useful, except an empty :

@interface NSColor (SWIFT_EXTENSION(MyApp))
@end

No other class is mentioned and as a result I get “unknown type name” and other 
errors when compiling. The Obj-C code can no longer see Swift classes and the 
compiler won’t correctly generate MyApp-Swift.h file.

This happened during a migration process. In the new workspace, I first turned 
a static library into a framework, then I added a copy of the Obj-C / Swift 
project. I had to do a few adjustments (mainly #include directives referring to 
the static library). During that time, Swift was crashing several times a 
minute. Now the project correctly refers to the framework, MyApp-Swift.h is 
just an empty shell, but Swift doesn’t crash anymore.

Any suggestions ?

Best regards,
Jean

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/xcode-users/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to