我刚刚下载了Xcode 7 beta 4并且我正在尝试构建我的Swift 2.0应用程序,但是我收到以下错误,我无法找到解决方案:
ld:警告:-weak_framework与-bitcode_bundle(Xcode设置ENABLE_BITCODE = YES)一起使用时被视为-framework.根据标题ld中的可用性标记,仍可能发生弱链接:'path/Pods/GoogleMaps/Frameworks/GoogleMaps.framework/GoogleMaps(GMSBillingPointRecorder.o)'不包含bitcode.您必须在启用bitcode(Xcode设置ENABLE_BITCODE)的情况下重建它,从供应商处获取更新的库,或禁用此目标的bitcode.for architecture arm64 clang:错误:链接器命令失败,退出代码为1(使用-v查看调用)
有谁知道如何解决这个问题?
Hello Stackoverflow,
我将swift应用程序移动到Swift2.0后,我不断收到此错误:
App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. Temporary exceptions can be configured via your app's Info.plist file.
The resource could not be loaded because the App Transport Security policy requires the use of a secure connection.
Run Code Online (Sandbox Code Playgroud)
我看了以下链接https://forums.developer.apple.com/thread/5835
并将以下代码添加到我的info.plist中
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
<key>NSExceptionDomains</key>
<dict/>
</dict>
Run Code Online (Sandbox Code Playgroud)
它仍然不起作用,任何人都有替代解决方案?