{"action":"closed","issue":{"url":"https://api.github.com/repos/cyrusinnovation/motion-frank/issues/7","repository_url":"https://api.github.com/repos/cyrusinnovation/motion-frank","labels_url":"https://api.github.com/repos/cyrusinnovation/motion-frank/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/cyrusinnovation/motion-frank/issues/7/comments","events_url":"https://api.github.com/repos/cyrusinnovation/motion-frank/issues/7/events","html_url":"https://github.com/cyrusinnovation/motion-frank/issues/7","id":157343423,"number":7,"title":"Having real issues getting Frank to work with IB","user":{"login":"Bodacious","id":73998,"avatar_url":"https://avatars.githubusercontent.com/u/73998?v=3","gravatar_id":"","url":"https://api.github.com/users/Bodacious","html_url":"https://github.com/Bodacious","followers_url":"https://api.github.com/users/Bodacious/followers","following_url":"https://api.github.com/users/Bodacious/following{/other_user}","gists_url":"https://api.github.com/users/Bodacious/gists{/gist_id}","starred_url":"https://api.github.com/users/Bodacious/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bodacious/subscriptions","organizations_url":"https://api.github.com/users/Bodacious/orgs","repos_url":"https://api.github.com/users/Bodacious/repos","events_url":"https://api.github.com/users/Bodacious/events{/privacy}","received_events_url":"https://api.github.com/users/Bodacious/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-05-28T15:21:08Z","updated_at":"2016-08-17T09:30:56Z","closed_at":"2016-08-17T09:30:56Z","body":"I've been trying all day to get Frank to work well in my RubyMotion app. This is becoming quite stressful, any help would be appreciated.\r\n\r\nWhat I've done so far:\r\n\r\n- Built an app. The app includes Cocoapods and the `ib` gem.\r\n- Installed the frank gem `gem install frank-cucumber`\r\n- ran `frank setup` (All seems to work fine so far...)\r\n- ran `frank build` (This is where :poop: hits the fan)\r\n\r\nsee below:\r\n\r\n    remove  Frank/frankified_build\r\n       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 \".\"\r\n    Build settings from command line:\r\n    ARCHS = i386\r\n    DEPLOYMENT_LOCATION = YES\r\n    DSTROOT = /Users/Gavin/Clients/TheApp/iOS/Frank/frankified_build\r\n    FRANK_LIBRARY_SEARCH_PATHS = \"/Users/Gavin/Clients/TheApp/iOS/Frank\"\r\n    ONLY_ACTIVE_ARCH = NO\r\n    SDKROOT = iphonesimulator9.3\r\n\r\n    Build settings from configuration file 'Frank/frank.xcconfig':\r\n    FRANK_CORE_LDFLAGS = -all_load -ObjC -framework CFNetwork -framework Security -lShelley -lCocoaAsyncSocket -lCocoaLumberjack -lCocoaHTTPServer -lFrank\r\n    FRANK_CORE_MAC_LDFLAGS = -all_load -ObjC -framework CFNetwork -framework Security -lShelleyMac -lCocoaAsyncSocketMac -lCocoaLumberjackMac -lCocoaHTTPServerMac -lFrankMac\r\n    FRANK_GCC_PREPROCESSOR_DEFINITIONS_NOT_USED_IN_PRECOMPS = $(FRANK_CORE_PREPROCESSOR_DEFINITIONS_NOT_USED_IN_PRECOMPS)\r\n    FRANK_LDFLAGS = $(FRANK_LDFLAGS_$(PLATFORM_NAME))\r\n    FRANK_LDFLAGS_iphoneos = $(FRANK_CORE_LDFLAGS)\r\n    FRANK_LDFLAGS_iphonesimulator = $(FRANK_LDFLAGS_iphoneos)\r\n    FRANK_LDFLAGS_macosx = $(FRANK_CORE_MAC_LDFLAGS)\r\n    GCC_PREPROCESSOR_DEFINITIONS_NOT_USED_IN_PRECOMPS = FRANKIFIED\r\n    INSTALL_PATH = /./\r\n\r\n    === CLEAN TARGET ib OF PROJECT ib WITH CONFIGURATION Debug ===\r\n\r\n    Check dependencies\r\n\r\n    Clean.Remove clean build/UninstalledProducts/iphonesimulator/libib.a\r\n    builtin-rm -rf /Users/Gavin/Clients/TheApp/iOS/build/UninstalledProducts/iphonesimulator/libib.a\r\n\r\n    Clean.Remove clean build/ib.build/Debug-iphonesimulator/ib.build\r\n    builtin-rm -rf /Users/Gavin/Clients/TheApp/iOS/build/ib.build/Debug-iphonesimulator/ib.build\r\n\r\n    Clean.Remove clean build/Debug-iphonesimulator/libib.a\r\n    builtin-rm -rf /Users/Gavin/Clients/TheApp/iOS/build/Debug-iphonesimulator/libib.a\r\n\r\n    ** CLEAN SUCCEEDED **\r\n\r\n    === BUILD TARGET ib OF PROJECT ib WITH CONFIGURATION Debug ===\r\n\r\n    Check dependencies\r\n\r\n    Write auxiliary files\r\n    write-file /Users/Gavin/Clients/TheApp/iOS/build/ib.build/Debug-iphonesimulator/ib.build/ib-all-non-framework-target-headers.hmap\r\n    /bin/mkdir -p /Users/Gavin/Clients/TheApp/iOS/build/ib.build/Debug-iphonesimulator/ib.build/Objects-normal/i386\r\n    write-file /Users/Gavin/Clients/TheApp/iOS/build/ib.build/Debug-iphonesimulator/ib.build/Objects-normal/i386/ib.LinkFileList\r\n    write-file /Users/Gavin/Clients/TheApp/iOS/build/ib.build/Debug-iphonesimulator/ib.build/ib-project-headers.hmap\r\n    write-file /Users/Gavin/Clients/TheApp/iOS/build/ib.build/Debug-iphonesimulator/ib.build/ib-all-target-headers.hmap\r\n    write-file /Users/Gavin/Clients/TheApp/iOS/build/ib.build/Debug-iphonesimulator/ib.build/ib-own-target-headers.hmap\r\n    write-file /Users/Gavin/Clients/TheApp/iOS/build/ib.build/Debug-iphonesimulator/ib.build/ib.hmap\r\n    write-file /Users/Gavin/Clients/TheApp/iOS/build/ib.build/Debug-iphonesimulator/ib.build/ib-generated-files.hmap\r\n\r\n    SymLink build/Debug-iphonesimulator/libib.a build/UninstalledProducts/iphonesimulator/libib.a\r\n    cd /Users/Gavin/Clients/TheApp/iOS\r\n    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\"\r\n    /bin/ln -sfh /Users/Gavin/Clients/TheApp/iOS/build/UninstalledProducts/iphonesimulator/libib.a /Users/Gavin/Clients/TheApp/iOS/build/Debug-iphonesimulator/libib.a\r\n\r\n    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\r\n    cd /Users/Gavin/Clients/TheApp/iOS\r\n    export LANG=en_US.US-ASCII\r\n    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\"\r\n    /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\r\n    In file included from /Users/Gavin/Clients/TheApp/iOS/ib.xcodeproj/Stubs.m:4:\r\n    /Users/Gavin/Clients/TheApp/iOS/ib.xcodeproj/Stubs.h:10:9: fatal error: 'CoreAudio/CoreAudio.h' file not found\r\n    #import <CoreAudio/CoreAudio.h>\r\n      ^\r\n    1 error generated.\r\n\r\n    ** BUILD FAILED **\r\n\r\n\r\n    The following build commands failed:\r\n    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\r\n    (1 failure)\r\n\r\nAs you can see, it's freaking out because it can't find `CoreAudio`, which I believe is included by one of the pods I've installed (I haven't included it).\r\n\r\nIt seems to be because Frank is treating the xcodeproject created by IB as the main app: `In file included from /Users/Gavin/Clients/TheRevelry/iOS/ib.xcodeproj/Stubs.m:4:`\r\n\r\nI've tried the suggestions in [this post](http://stackoverflow.com/questions/36605135/build-frank-with-cocoapods) but they don't work (There aren't any other workspaces in my app)."}}
{"actor":{"display_login":"Bodacious"}}