ios - Unable to import own Framework in xCode Beta 7 -


hello stackoverflow community,

i'm facing problem trying import ios cocoa touch framework (written in swift, built xcode 7 beta 3) inside of application written in swift , built same version of xcode.

i added framework both "embedded binaries" , "linked frameworks , libraries" in general tab, added path of folder located in "framework search paths" in build settings tab , "link binary libraries" , "embedded frameworks" (with destination set "frameworks") in build phases tab. reason, i'm not able import module inside of project. started off saying "no such module 'swiftqlite'", says "cannot load underlying module 'swiftqlite'". had working before, it's throwing errors @ me.

is there i'm doing wrong? added few screenshots question illustrate problem. i'll appreciate helpful answers. thank in advance.

enter image description here

enter image description here

enter image description here

enter image description here

update: found out can import , use module in objective-c, part of functions available in objective-c. importing in swift doesn't work @ all.

edit 08/11/2015: has been fixed in xcode version 7.0 beta 5 (7a176x). i'm able use own frameworks in project after importing them embedded libraries.



i'm having same issue nguoy_tk:

  1. i built framework xcode 7.0 beta 3
  2. i imported framework in new project built xcode 7 beta 3 ( both "embedded binaries" , "linked frameworks , libraries" )
  3. xcode not find module

however downloaded xcode 7 beta 4, , while issue seems gone, 1 appeared when trying import module:

cannot load underlying module '[module]'" 

however strange thing build successful.

enter image description here


Comments