gpt4 book ai didi

java - 代号 一个 parse4cn1 构建错误

转载 作者:行者123 更新时间:2023-11-30 03:07:14 27 4
gpt4 key购买 nike

我的应用程序构建正常,但是当我添加库 parse4cn1 时,构建失败

ios 失败示例:

CompileC build/Main.build/Release-iphoneos/Main.build/Objects-normal/armv7/com_codename1_components_FileEncodedImageAsync_1.o Main-src/com_codename1_components_FileEncodedImageAsync_1.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler cd /var/folders/p7/d3z112yd0156kxkm2p21p8ym0000gn/T/build7817864654456423022xxx/dist export LANG=en_US.US-ASCII export PATH="/Applications/Xcode6.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode6.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin" /Applications/Xcode6.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch armv7 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=c99 -Wno-trigraphs -fpascal-strings -O3 -Wno-missing-field-initializers -Wno-missing-prototypes -Werror=return-type -Wno-implicit-atomic-properties -Werror=deprecated-objc-isa-usage -Werror=objc-root-class -Wno-receiver-is-weak -Wno-arc-repeated-use-of-weak -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wuninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wno-int-conversion -Wbool-conversion -Wno-enum-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wno-deprecated-implementations -DNS_BLOCK_ASSERTIONS=1 -isysroot /Applications/Xcode6.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.0.sdk -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -g -fvisibility=hidden -Wno-sign-conversion -miphoneos-version-min=5.1.1 -iquote /var/folders/p7/d3z112yd0156kxkm2p21p8ym0000gn/T/build7817864654456423022xxx/dist/build/Main.build/Release-iphoneos/Main.build/Main-generated-files.hmap -I/var/folders/p7/d3z112yd0156kxkm2p21p8ym0000gn/T/build7817864654456423022xxx/dist/build/Main.build/Release-iphoneos/Main.build/Main-own-target-headers.hmap -I/var/folders/p7/d3z112yd0156kxkm2p21p8ym0000gn/T/build7817864654456423022xxx/dist/build/Main.build/Release-iphoneos/Main.build/Main-all-target-headers.hmap -iquote /var/folders/p7/d3z112yd0156kxkm2p21p8ym0000gn/T/build7817864654456423022xxx/dist/build/Main.build/Release-iphoneos/Main.build/Main-project-headers.hmap -I/var/folders/p7/d3z112yd0156kxkm2p21p8ym0000gn/T/build7817864654456423022xxx/dist/build/Release-iphoneos/include -I/Applications/Xcode6.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/var/folders/p7/d3z112yd0156kxkm2p21p8ym0000gn/T/build7817864654456423022xxx/dist/build/Main.build/Release-iphoneos/Main.build/DerivedSources/armv7 -I/var/folders/p7/d3z112yd0156kxkm2p21p8ym0000gn/T/build7817864654456423022xxx/dist/build/Main.build/Release-iphoneos/Main.build/DerivedSources -F/var/folders/p7/d3z112yd0156kxkm2p21p8ym0000gn/T/build7817864654456423022xxx/dist/build/Release-iphoneos -include /var/folders/p7/d3z112yd0156kxkm2p21p8ym0000gn/C/com.apple.DeveloperTools/6.0.1-6A317/Xcode/SharedPrecompiledHeaders/Main-Prefix-emlrvbeeugebypcdhsskhvroiczx/Main-Prefix.pch -MMD -MT dependencies -MF /var/folders/p7/d3z112yd0156kxkm2p21p8ym0000gn/T/build7817864654456423022xxx/dist/build/Main.build/Release-iphoneos/Main.build/Objects-normal/armv7/com_codename1_components_FileEncodedImageAsync_1.d --serialize-diagnostics /var/folders/p7/d3z112yd0156kxkm2p21p8ym0000gn/T/build7817864654456423022xxx/dist/build/Main.build/Release-iphoneos/Main.build/Objects-normal/armv7/com_codename1_components_FileEncodedImageAsync_1.dia -c /var/folders/p7/d3z112yd0156kxkm2p21p8ym0000gn/T/build7817864654456423022xxx/dist/Main-src/com_codename1_components_FileEncodedImageAsync_1.m -o /var/folders/p7/d3z112yd0156kxkm2p21p8ym0000gn/T/build7817864654456423022xxx/dist/build/Main.build/Release-iphoneos/Main.build/Objects-normal/armv7/com_codename1_components_FileEncodedImageAsync_1.o

** BUILD FAILED **

The following build commands failed: CompileC build/Main.build/Release-iphoneos/Main.build/Objects-normal/armv7/CodenameOne_GLAppDelegate.o Main-src/CodenameOne_GLAppDelegate.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler (1 failure)

我检查了项目 wiki 的 procedimetos,并意识到构建失败的确切时间以及 lib parse4cn1 的包含。

有人知道为什么吗?

最佳答案

您在包含 parse4cn1.cn1lib 后是否遇到这些错误,或者您是否也尝试将用于推送通知支持的 native 代码注入(inject)到您的构建中?我问是因为你在 github 上发布的日志建议您尝试将推送通知代码注入(inject)应用程序委托(delegate)中,但您似乎也包含了内联注释。注释将导致构建错误,因为代码被去除了换行符,因此注释将无法正确解析。

为了更快地找出问题,我建议您尝试使用不包含 release 2.0.1 中提供的推送通知支持的 parse4cn1 库版本来编译您的应用程序。 。当然,请务必在编译之前删除任何与 parse4cn1 相关的构建提示。如果有效,您可以切换到支持推送的版本(如果需要)并仔细添加提示不带注释

关于java - 代号 一个 parse4cn1 构建错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34453869/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com