I'm currently facing a problem trying to import my iOS Cocoa Touch Framework (written in Swift, built with Xcode 7 beta 3) inside of an application also written in Swift and built with the same version of Xcode.
I added the Framework to both "Embedded Binaries" and "Linked Frameworks and Libraries" in the General tab, added the path of the folder it is located in to "Framework Search Paths" in the Build Settings tab and to "Link Binary With Libraries" and "Embedded Frameworks" (with Destination set to "Frameworks") in the Build Phases tab. But for some reason, I'm not able to import the module inside of the project. It started off saying "No such module 'SwiftQLite'", now it says "Cannot load underlying module for 'SwiftQLite'". I had it working before, but now it's just throwing errors at me.
Is there anything I'm doing wrong? I added a few screenshots to this question to illustrate the problem.
UPDATE: I just found out that I can import and use the module in Objective-C, but only a part of all the functions is available in Objective-C. Importing in Swift doesn't work at all.
EDIT 08/11/2015: This has been fixed in Xcode Version 7.0 beta 5 (7A176x). I'm able to use my own frameworks in any project after importing them as Embedded Libraries.
I'm having the same issue than nguoy_tk:
However I just downloaded Xcode 7 beta 4, and while this issue seems to be gone, another one appeared when trying to import the module:
Cannot load underlying module for '[Module]'"
However the strange thing is that the build is successful.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.