Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS XLog是否有bitcode支持? #337

Closed
vitosubXX opened this issue Dec 16, 2017 · 6 comments
Closed

iOS XLog是否有bitcode支持? #337

vitosubXX opened this issue Dec 16, 2017 · 6 comments

Comments

@vitosubXX
Copy link

No description provided.

@vitosubXX
Copy link
Author

mars.framework/mars(Reachability.o)' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE)

@garryyan
Copy link
Collaborator

编译脚本中

iphone_xlog_project = Project(RELATIVE_PATH + "mars-log-iphone.xcodeproj", "iphone", set(["Release-iphoneos", "Release-iphonesimulator"]), "mars", "mars.framework", "")

改为

iphone_xlog_project = Project(RELATIVE_PATH + "mars-log-iphone.xcodeproj", "iphone", set(["Release-iphoneos", "Release-iphonesimulator"]), "mars", "mars.framework", "-fembed-bitcode")

@vitosubXX
Copy link
Author

谢谢解答!

@YiFan-Tong
Copy link

编译脚本中

iphone_xlog_project = Project(RELATIVE_PATH + "mars-log-iphone.xcodeproj", "iphone", set(["Release-iphoneos", "Release-iphonesimulator"]), "mars", "mars.framework", "")

改为

iphone_xlog_project = Project(RELATIVE_PATH + "mars-log-iphone.xcodeproj", "iphone", set(["Release-iphoneos", "Release-iphonesimulator"]), "mars", "mars.framework", "-fembed-bitcode")

请问这个应该在那个文件中修改,我在Mars全局搜索了一下,没有搜到这行相关代码;
我在使用最新的framework,依然需要关掉bitcode

@vitosubXX
Copy link
Author

vitosubXX commented Apr 30, 2019

编译脚本中

iphone_xlog_project = Project(RELATIVE_PATH + "mars-log-iphone.xcodeproj", "iphone", set(["Release-iphoneos", "Release-iphonesimulator"]), "mars", "mars.framework", "")

改为

iphone_xlog_project = Project(RELATIVE_PATH + "mars-log-iphone.xcodeproj", "iphone", set(["Release-iphoneos", "Release-iphonesimulator"]), "mars", "mars.framework", "-fembed-bitcode")

请问这个应该在那个文件中修改,我在Mars全局搜索了一下,没有搜到这行相关代码;
我在使用最新的framework,依然需要关掉bitcode

mars/build_ios.py
line 15:
DENABLE_BITCODE=0
改为:
DENABLE_BITCODE=1

@garryyan garryyan pinned this issue May 14, 2019
@tanpengsccd
Copy link

请问如何编译同时含有arm64 x86_64的库呢?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants