Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/iphone/39.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Iphone 钛模块构建在集成第三方框架时失败_Iphone_Appcelerator_Titanium Alloy_Titanium Modules - Fatal编程技术网

Iphone 钛模块构建在集成第三方框架时失败

Iphone 钛模块构建在集成第三方框架时失败,iphone,appcelerator,titanium-alloy,titanium-modules,Iphone,Appcelerator,Titanium Alloy,Titanium Modules,我正在尝试集成第三方框架“LTU”进行图像处理。这个SDK是如何集成到模块中的,这与我过去的经验有些不同。SDK需要将整个xcode项目(即框架本身)复制到模块中 现在,当我尝试构建模块时,它抛出一个错误,指出路径上不存在框架。请参阅完整的错误日志: invindmac6s-iMac:iphone paresh.thakor$ clear invindmac6s-iMac:iphone paresh.thakor$ ./build.py [WARN] please update the man

我正在尝试集成第三方框架“LTU”进行图像处理。这个SDK是如何集成到模块中的,这与我过去的经验有些不同。SDK需要将整个xcode项目(即框架本身)复制到模块中

现在,当我尝试构建模块时,它抛出一个错误,指出路径上不存在框架。请参阅完整的错误日志:

invindmac6s-iMac:iphone paresh.thakor$ clear

invindmac6s-iMac:iphone paresh.thakor$ ./build.py
[WARN] please update the manifest key: 'copyright' to a non-default value
[WARN] please update the manifest key: 'license' to a non-default value
[WARN] please update the manifest key: 'copyright' to a non-default value
[WARN] please update the LICENSE file with your license text before distributing
Build settings from command line:
    SDKROOT = iphoneos8.1

2015-03-30 17:58:18.581 xcodebuild[61617:1682350] [MT] DVTAssertions: Warning in /SourceCache/IDEFrameworks/IDEFrameworks-6611/IDEFoundation/SourceControl/Model/IDESourceControlManager.m:423
Details:  Error Domain=com.apple.dt.IDESourceControlErrorDomain Code=-1 "Missing extension: public.vcs.subversion" UserInfo=0x7ff08954d6e0 {NSLocalizedDescription=Missing extension: public.vcs.subversion}
Object:   <IDESourceControlManager: 0x7ff08bcfb6e0>
Method:   -loadRepositories
Thread:   <NSThread: 0x7ff089403f50>{number = 1, name = main}
Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
2015-03-30 17:58:18.643 xcodebuild[61617:1682350] [MT] IDELogStore: Log record's backing file ("/Users/paresh.thakor/Library/Developer/Xcode/DerivedData/LTUiOS-hgdzwjjxjorkmwatuqekdkbjheyl/Logs/Build/F0A63082-8D50-417C-805B-1B84F9CF63EA.xcactivitylog") is missing. Skipping.
2015-03-30 17:58:18.644 xcodebuild[61617:1682350] [MT] IDELogStore: Log record's backing file ("/Users/paresh.thakor/Library/Developer/Xcode/DerivedData/LTUiOS-hgdzwjjxjorkmwatuqekdkbjheyl/Logs/Build/33D52D5C-E146-4A0F-BEB2-AC4A6CDC2BBA.xcactivitylog") is missing. Skipping.
2015-03-30 17:58:18.644 xcodebuild[61617:1682350] [MT] IDELogStore: Log record's backing file ("/Users/paresh.thakor/Library/Developer/Xcode/DerivedData/LTUiOS-hgdzwjjxjorkmwatuqekdkbjheyl/Logs/Build/BCCEC865-598B-4C92-A37B-2CCB12A7220E.xcactivitylog") is missing. Skipping.
2015-03-30 17:58:18.644 xcodebuild[61617:1682350] [MT] IDELogStore: Log record's backing file ("/Users/paresh.thakor/Library/Developer/Xcode/DerivedData/LTUiOS-hgdzwjjxjorkmwatuqekdkbjheyl/Logs/Build/8C23F2B2-CD26-4FA6-8932-AC95A6F5431A.xcactivitylog") is missing. Skipping.
2015-03-30 17:58:18.645 xcodebuild[61617:1682350] [MT] IDELogStore: Log record's backing file ("/Users/paresh.thakor/Library/Developer/Xcode/DerivedData/LTUiOS-hgdzwjjxjorkmwatuqekdkbjheyl/Logs/Build/432B5641-C681-432F-9797-632210CA0D03.xcactivitylog") is missing. Skipping.
2015-03-30 17:58:18.645 xcodebuild[61617:1682350] [MT] IDELogStore: Log record's backing file ("/Users/paresh.thakor/Library/Developer/Xcode/DerivedData/LTUiOS-hgdzwjjxjorkmwatuqekdkbjheyl/Logs/Build/2FCDDE5D-E9DA-4F89-8484-863761130107.xcactivitylog") is missing. Skipping.
2015-03-30 17:58:18.645 xcodebuild[61617:1682350] [MT] IDELogStore: Log record's backing file ("/Users/paresh.thakor/Library/Developer/Xcode/DerivedData/LTUiOS-hgdzwjjxjorkmwatuqekdkbjheyl/Logs/Build/84ED421F-771F-42B5-BF82-B2264B4ACCF6.xcactivitylog") is missing. Skipping.
2015-03-30 17:58:18.645 xcodebuild[61617:1682350] [MT] IDELogStore: Log record's backing file ("/Users/paresh.thakor/Library/Developer/Xcode/DerivedData/LTUiOS-hgdzwjjxjorkmwatuqekdkbjheyl/Logs/Build/9839AC5F-F5F8-4FDD-B692-87DACFEECA11.xcactivitylog") is missing. Skipping.
2015-03-30 17:58:18.646 xcodebuild[61617:1682350] [MT] IDELogStore: Log record's backing file ("/Users/paresh.thakor/Library/Developer/Xcode/DerivedData/LTUiOS-hgdzwjjxjorkmwatuqekdkbjheyl/Logs/Build/27407B36-9F1A-421F-8E82-DE481A50AA4B.xcactivitylog") is missing. Skipping.
2015-03-30 17:58:18.646 xcodebuild[61617:1682350] [MT] IDELogStore: Log record's backing file ("/Users/paresh.thakor/Library/Developer/Xcode/DerivedData/LTUiOS-hgdzwjjxjorkmwatuqekdkbjheyl/Logs/Build/4848BA39-10CD-4DD5-94EB-473EB1A1137E.xcactivitylog") is missing. Skipping.
=== BUILD TARGET LTUiOS OF PROJECT LTUiOS WITH CONFIGURATION Release ===

Check dependencies

Libtool build/LTUiOS.build/Release-iphoneos/LTUiOS.build/Objects-normal/armv7/libComInvestisLtu.a normal armv7
    cd /Source/Titanium_Studio_Workspace/LTUiOS/iphone
    export IPHONEOS_DEPLOYMENT_TARGET=6.0
    export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool -static -arch_only armv7 -syslibroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk -L/Source/Titanium_Studio_Workspace/LTUiOS/iphone/build/Release-iphoneos -L/Source/Titanium_Studio_Workspace/LTUiOS/iphone/LTUSDK/Build/Products/Debug-iphonesimulator -filelist /Source/Titanium_Studio_Workspace/LTUiOS/iphone/build/LTUiOS.build/Release-iphoneos/LTUiOS.build/Objects-normal/armv7/ComInvestisLtu.LinkFileList /Source/Titanium_Studio_Workspace/LTUiOS/iphone/LTUSDK/Build/Products/Release-iphoneos/libLTUSDK-lib.a -framework CoreVideo -framework CoreImage -framework CoreMedia -framework AVFoundation -framework Foundation -o /Source/Titanium_Studio_Workspace/LTUiOS/iphone/build/LTUiOS.build/Release-iphoneos/LTUiOS.build/Objects-normal/armv7/libComInvestisLtu.a
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: can't open file: /Source/Titanium_Studio_Workspace/LTUiOS/iphone/LTUSDK/Build/Products/Release-iphoneos/libLTUSDK-lib.a (No such file or directory)

Libtool build/LTUiOS.build/Release-iphoneos/LTUiOS.build/Objects-normal/arm64/libComInvestisLtu.a normal arm64
    cd /Source/Titanium_Studio_Workspace/LTUiOS/iphone
    export IPHONEOS_DEPLOYMENT_TARGET=6.0
    export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool -static -arch_only arm64 -syslibroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk -L/Source/Titanium_Studio_Workspace/LTUiOS/iphone/build/Release-iphoneos -L/Source/Titanium_Studio_Workspace/LTUiOS/iphone/LTUSDK/Build/Products/Debug-iphonesimulator -filelist /Source/Titanium_Studio_Workspace/LTUiOS/iphone/build/LTUiOS.build/Release-iphoneos/LTUiOS.build/Objects-normal/arm64/ComInvestisLtu.LinkFileList /Source/Titanium_Studio_Workspace/LTUiOS/iphone/LTUSDK/Build/Products/Release-iphoneos/libLTUSDK-lib.a -framework CoreVideo -framework CoreImage -framework CoreMedia -framework AVFoundation -framework Foundation -o /Source/Titanium_Studio_Workspace/LTUiOS/iphone/build/LTUiOS.build/Release-iphoneos/LTUiOS.build/Objects-normal/arm64/libComInvestisLtu.a
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: can't open file: /Source/Titanium_Studio_Workspace/LTUiOS/iphone/LTUSDK/Build/Products/Release-iphoneos/libLTUSDK-lib.a (No such file or directory)

** BUILD FAILED **


The following build commands failed:
    Libtool build/LTUiOS.build/Release-iphoneos/LTUiOS.build/Objects-normal/armv7/libComInvestisLtu.a normal armv7
    Libtool build/LTUiOS.build/Release-iphoneos/LTUiOS.build/Objects-normal/arm64/libComInvestisLtu.a normal arm64
(2 failures)
xcodebuild failed
invindmac6s-iMac:iphone paresh.thakor$ 

如果此处有任何错误,请更正。

您是否已将框架添加到模块的平台目录中?您的module.xconfig文件是什么?请查看@EduardoGomez:如何将框架添加到模块的平台目录?正如您所看到的,我已经在模块内部集成了整个xcode项目,并且只有在需要时才会构建框架。我不是先做框架,然后再添加。我需要添加在构建整个模块时构建的框架。我发送的链接清楚地指定了框架搜索路径如何允许应用程序找到框架。抱歉,我不确定“仅在需要时构建框架”是什么意思。@EduardoGomez:这意味着当我从terminal运行build.py以生成模块时,将生成所需的“libLTUSDK lib.a”框架。在运行build.py生成模块之前,不会生成框架。
//
// PLACE ANY BUILD DEFINITIONS IN THIS FILE AND THEY WILL BE 
// PICKED UP DURING THE APP BUILD FOR YOUR MODULE
//
// see the following webpage for instructions on the settings
// for this file:
// http://developer.apple.com/mac/library/documentation/DeveloperTools/Conceptual/XcodeBuildSystem/400-Build_Configurations/build_configs.html
// 

//
// How to add a Framework (example)
//
// OTHER_LDFLAGS=$(inherited) -framework Foo
//
// Adding a framework for a specific version(s) of iPhone:
//
// OTHER_LDFLAGS[sdk=iphoneos4*]=$(inherited) -framework Foo
// OTHER_LDFLAGS[sdk=iphonesimulator4*]=$(inherited) -framework Foo
//
OTHER_LDFLAGS=$(inherited) -framework libLTUSDK-lib.a -framework CoreVideo -framework CoreImage -framework CoreMedia -framework AVFoundation -framework Foundation
//
// How to add a compiler define:
//
// OTHER_CFLAGS=$(inherited) -DFOO=1
//
//
// IMPORTANT NOTE: always use $(inherited) in your overrides
//