Apple Watch “No such module 'Alamofire'”

后端 未结 1 1961
粉色の甜心
粉色の甜心 2021-01-22 10:53

Alamofire has been working fine for an iPhone only project.

I DID THE MANUAL INSTALL OF ALAMOFIRE - NOT COCOA PODS

Now I have added a watch app target following

相关标签:
1条回答
  • 2021-01-22 11:17

    Below 2 steps have resolved above issue :

    i) Check the target name in the Podfile it should match with extension that you are adding Library to it. "AppleWatchApp Extension" instead of "AppleWatchApp" in my case .

    ii) Change the framework search Path in BUILD SETTINGS in the target as mention below.

    0 讨论(0)
提交回复
热议问题