更新到Xcode 7后出错 [英] Error after updating to Xcode 7

查看:178
本文介绍了更新到Xcode 7后出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用Ionic Framework开发移动应用程序,我刚收到一个非常奇怪的错误,打破了我的整个构建。

I am developing mobile app with Ionic Framework and I just received very strange error that broke my whole build.


'myapp / /com.phonegap.plugins.facebookconnect/FacebookSDK.framework/FacebookSDK(FBLikeButtonBackgroundSelectedPNG.o)'
不包含位码。您必须使用bitcode enabled
(Xcode设置ENABLE_BITCODE)重建它,从
供应商获取更新的库,或禁用此目标的位码。对于结构arm64
clang:error:linker命令失败,退出代码1(使用-v查看
调用)

'myapp/Plugins/com.phonegap.plugins.facebookconnect/FacebookSDK.framework/FacebookSDK(FBLikeButtonBackgroundSelectedPNG.o)' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

之后。它在升级到新的Xcode版本7.0之前工作得很好。我试图禁用该项目的BITCODE,但APP的Facebook功能不能按预期工作。

That happen after . It worked perfectly before upgrading to the new Xcode version 7.0. I have tried to disable the BITCODE for the project but the Facebook functionality of the APP does not work as expected.

EDIT

如果我为项目停用BITCODE,Facebook插件会打开浏览器而不是应用程序在此情况下禁用BITCODE不是解决方案。

If I disable BITCODE for the project the Facebook plugin opens the browser instead of the app therefore Disabling BITCODE is not a solution in that case.

推荐答案

它为我工作:

我从这里偷走了:
https://github.com/Wizcorp/phonegap-facebook-plugin/issues/1116


  1. 使用步骤2和3更新plist从 Facebook的iOS 9指南

  2. 关闭bitcode设置(您已经知道如何执行此操作:smile:)

这篇关于更新到Xcode 7后出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆