簡體   English   中英

我如何才能讓Frank與Cocoapods和Interface-builder(Rubymotion)很好地玩

[英]How can I get Frank to play nicely with Cocoapods and interface-builder (Rubymotion)

我一直在努力使Frank在我的RubyMotion應用程序中正常工作。 這變得非常壓力,任何幫助將不勝感激。

到目前為止,我所做的是:

  • 構建了一個應用程序。 該應用程序包括Cocoapods和ib gem。
  • 安裝了坦率的寶石gem install frank-cucumber
  • 進行了frank setup (到目前為止,一切似乎工作正常……)
  • frank build (這是:poop:引起關注的地方)

見下文:

remove  Frank/frankified_build
   run  xcodebuild -xcconfig Frank/frank.xcconfig clean build  -arch i386 -configuration Debug -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO DEPLOYMENT_LOCATION=YES DSTROOT="/Users/Gavin/Clients/TheApp/iOS/Frank/frankified_build" FRANK_LIBRARY_SEARCH_PATHS="\"/Users/Gavin/Clients/TheApp/iOS/Frank\""  from "."
Build settings from command line:
ARCHS = i386
DEPLOYMENT_LOCATION = YES
DSTROOT = /Users/Gavin/Clients/TheApp/iOS/Frank/frankified_build
FRANK_LIBRARY_SEARCH_PATHS = "/Users/Gavin/Clients/TheApp/iOS/Frank"
ONLY_ACTIVE_ARCH = NO
SDKROOT = iphonesimulator9.3

Build settings from configuration file 'Frank/frank.xcconfig':
FRANK_CORE_LDFLAGS = -all_load -ObjC -framework CFNetwork -framework Security -lShelley -lCocoaAsyncSocket -lCocoaLumberjack -lCocoaHTTPServer -lFrank
FRANK_CORE_MAC_LDFLAGS = -all_load -ObjC -framework CFNetwork -framework Security -lShelleyMac -lCocoaAsyncSocketMac -lCocoaLumberjackMac -lCocoaHTTPServerMac -lFrankMac
FRANK_GCC_PREPROCESSOR_DEFINITIONS_NOT_USED_IN_PRECOMPS = $(FRANK_CORE_PREPROCESSOR_DEFINITIONS_NOT_USED_IN_PRECOMPS)
FRANK_LDFLAGS = $(FRANK_LDFLAGS_$(PLATFORM_NAME))
FRANK_LDFLAGS_iphoneos = $(FRANK_CORE_LDFLAGS)
FRANK_LDFLAGS_iphonesimulator = $(FRANK_LDFLAGS_iphoneos)
FRANK_LDFLAGS_macosx = $(FRANK_CORE_MAC_LDFLAGS)
GCC_PREPROCESSOR_DEFINITIONS_NOT_USED_IN_PRECOMPS = FRANKIFIED
INSTALL_PATH = /./

=== CLEAN TARGET ib OF PROJECT ib WITH CONFIGURATION Debug ===

Check dependencies

Clean.Remove clean build/UninstalledProducts/iphonesimulator/libib.a
builtin-rm -rf /Users/Gavin/Clients/TheApp/iOS/build/UninstalledProducts/iphonesimulator/libib.a

Clean.Remove clean build/ib.build/Debug-iphonesimulator/ib.build
builtin-rm -rf /Users/Gavin/Clients/TheApp/iOS/build/ib.build/Debug-iphonesimulator/ib.build

Clean.Remove clean build/Debug-iphonesimulator/libib.a
builtin-rm -rf /Users/Gavin/Clients/TheApp/iOS/build/Debug-iphonesimulator/libib.a

** CLEAN SUCCEEDED **

=== BUILD TARGET ib OF PROJECT ib WITH CONFIGURATION Debug ===

Check dependencies

Write auxiliary files
write-file /Users/Gavin/Clients/TheApp/iOS/build/ib.build/Debug-iphonesimulator/ib.build/ib-all-non-framework-target-headers.hmap
/bin/mkdir -p /Users/Gavin/Clients/TheApp/iOS/build/ib.build/Debug-iphonesimulator/ib.build/Objects-normal/i386
write-file /Users/Gavin/Clients/TheApp/iOS/build/ib.build/Debug-iphonesimulator/ib.build/Objects-normal/i386/ib.LinkFileList
write-file /Users/Gavin/Clients/TheApp/iOS/build/ib.build/Debug-iphonesimulator/ib.build/ib-project-headers.hmap
write-file /Users/Gavin/Clients/TheApp/iOS/build/ib.build/Debug-iphonesimulator/ib.build/ib-all-target-headers.hmap
write-file /Users/Gavin/Clients/TheApp/iOS/build/ib.build/Debug-iphonesimulator/ib.build/ib-own-target-headers.hmap
write-file /Users/Gavin/Clients/TheApp/iOS/build/ib.build/Debug-iphonesimulator/ib.build/ib.hmap
write-file /Users/Gavin/Clients/TheApp/iOS/build/ib.build/Debug-iphonesimulator/ib.build/ib-generated-files.hmap

SymLink build/Debug-iphonesimulator/libib.a build/UninstalledProducts/iphonesimulator/libib.a
cd /Users/Gavin/Clients/TheApp/iOS
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Users/Gavin/.rvm/gems/ruby-2.2.3/bin:/Users/Gavin/.rvm/gems/ruby-2.2.3@global/bin:/Users/Gavin/.rvm/rubies/ruby-2.2.3/bin:/Users/Gavin/.rvm/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/heroku/bin"
/bin/ln -sfh /Users/Gavin/Clients/TheApp/iOS/build/UninstalledProducts/iphonesimulator/libib.a /Users/Gavin/Clients/TheApp/iOS/build/Debug-iphonesimulator/libib.a

CompileC build/ib.build/Debug-iphonesimulator/ib.build/Objects-normal/i386/Stubs.o ib.xcodeproj/Stubs.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler
cd /Users/Gavin/Clients/TheApp/iOS
export LANG=en_US.US-ASCII
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Users/Gavin/.rvm/gems/ruby-2.2.3/bin:/Users/Gavin/.rvm/gems/ruby-2.2.3@global/bin:/Users/Gavin/.rvm/rubies/ruby-2.2.3/bin:/Users/Gavin/.rvm/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/heroku/bin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch i386 -fmessage-length=202 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -fcolor-diagnostics -std=gnu99 -fobjc-arc -fmodules -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -fmodules-ignore-macro=FRANKIFIED -fbuild-session-file=/var/folders/qh/gr7t4tsj2_x_4lp5mkyvcw0r0000gn/C/org.llvm.clang/ModuleCache/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror=non-modular-include-in-framework-module -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wunreachable-code -Wno-implicit-atomic-properties -Wno-arc-repeated-use-of-weak -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wno-deprecated-implementations -DDEBUG=1 -DOBJC_OLD_DISPATCH_PROTOTYPES=0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.3.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -mios-simulator-version-min=9.3 -g -Wno-sign-conversion -fobjc-abi-version=2 -fobjc-legacy-dispatch -iquote /Users/Gavin/Clients/TheApp/iOS/build/ib.build/Debug-iphonesimulator/ib.build/ib-generated-files.hmap -I/Users/Gavin/Clients/TheApp/iOS/build/ib.build/Debug-iphonesimulator/ib.build/ib-own-target-headers.hmap -I/Users/Gavin/Clients/TheApp/iOS/build/ib.build/Debug-iphonesimulator/ib.build/ib-all-target-headers.hmap -iquote /Users/Gavin/Clients/TheApp/iOS/build/ib.build/Debug-iphonesimulator/ib.build/ib-project-headers.hmap -I/Users/Gavin/Clients/TheApp/iOS/build/Debug-iphonesimulator/include -I/Users/Gavin/Clients/TheApp/iOS/build/ib.build/Debug-iphonesimulator/ib.build/DerivedSources/i386 -I/Users/Gavin/Clients/TheApp/iOS/build/ib.build/Debug-iphonesimulator/ib.build/DerivedSources -F/Users/Gavin/Clients/TheApp/iOS/build/Debug-iphonesimulator -DFRANKIFIED -MMD -MT dependencies -MF /Users/Gavin/Clients/TheApp/iOS/build/ib.build/Debug-iphonesimulator/ib.build/Objects-normal/i386/Stubs.d --serialize-diagnostics /Users/Gavin/Clients/TheApp/iOS/build/ib.build/Debug-iphonesimulator/ib.build/Objects-normal/i386/Stubs.dia -c /Users/Gavin/Clients/TheApp/iOS/ib.xcodeproj/Stubs.m -o /Users/Gavin/Clients/TheApp/iOS/build/ib.build/Debug-iphonesimulator/ib.build/Objects-normal/i386/Stubs.o
In file included from /Users/Gavin/Clients/TheApp/iOS/ib.xcodeproj/Stubs.m:4:
/Users/Gavin/Clients/TheApp/iOS/ib.xcodeproj/Stubs.h:10:9: fatal error: 'CoreAudio/CoreAudio.h' file not found
#import <CoreAudio/CoreAudio.h>
  ^
1 error generated.

** BUILD FAILED **


The following build commands failed:
CompileC build/ib.build/Debug-iphonesimulator/ib.build/Objects-normal/i386/Stubs.o ib.xcodeproj/Stubs.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)

如您所見,它之所以CoreAudio ,是因為它找不到CoreAudio ,我認為它已包含在我已安裝的其中一個Pod中(我未包含)。

似乎是因為Frank將IB創建的xcodeproject視為主要應用程序: In file included from /Users/Gavin/Clients/TheRevelry/iOS/ib.xcodeproj/Stubs.m:4:

我試着在建議這個職位 ,但他們不工作(有沒有在我的應用程序的任何其他工作區)。

我從未使用過它,但是frank-cucumber似乎是Ruby的寶石,而不是Rubymotion的寶石,這是不一樣的。

也許您在尋找的是Rubymotion寶石運動弗蘭克嗎?

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM