简体   繁体   中英

Swift import got error “Could not build objective-C module 'Twitter'” while including a framework

I was taking the iTunesU course CS193P Lecture9.

I got this error while trying to import the framework.

I've already turn on "Allow Non-modular Includes In Framework Modules" The "Twitter" framework was built successfully and already added in the "SmashTag"'s Linked Frameworks and Libraries.

navigator

Does any one have some clue for this? Xcode version 8.1 and Swift 3.0

Thank you.

You need to convert the code to swfit 3 and rebuild the Twitter framework in
the same workspace.

The answer here described how to convert the code. Smashtag (Stanford CS193p Twitter client) not loading on iPhone

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM