iOS Question Error Compiling App in Debug Mode

aaronk

Well-Known Member
Licensed User
Longtime User
Hi,

I am using B4i version 2.00 and I am trying to load (debug) my app onto my iPhone using my new MacBookPro.

First of all I have done all the certificate files etc. and loaded them in the Keys folder.

The IP of my Mac is 192.168.0.4 and when I enter in http://192.168.0.4:51041/test into the web browser and it shows the following:

(So I know my Windows PC can talk to my MacBookPro)
upload_2015-10-17_21-1-5.png


When I try to compile my app in debug mode I get the following error:

B4i version: 2.00
Parsing code. (0.00s)
Compiling code. (0.02s)
Compiling layouts code. (0.00s)
Compiling debugger engine code. (1.25s)
Building Xcode project (0.02s)
Sending data to remote compiler. Error
Out: Build settings from command line:
ARCHS = armv7
CODE_SIGN_IDENTITY = iPhone
CONFIGURATION_BUILD_DIR = /Users/AaronMacPro/Desktop/macserver-2/UploadedProjects/b4i_default/Payload
OTHER_CODE_SIGN_FLAGS = --keychain b4i_default
PRODUCT_NAME = B4i Example
PROVISIONING_PROFILE = 069387c9-fc86-4e50-aff4-721c8475824b
=== BUILD TARGET B4iProject OF PROJECT B4iProject WITH CONFIGURATION Release ===
Check dependencies
Write auxiliary files
write-file /Users/AaronMacPro/Desktop/macserver-2/UploadedProjects/b4i_default/build/B4iProject.build/Release-iphoneos/B4iProject.build/B4i\ Example-own-target-headers.hmap
/bin/mkdir -p /Users/AaronMacPro/Desktop/macserver-2/UploadedProjects/b4i_default/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7
write-file /Users/AaronMacPro/Desktop/macserver-2/UploadedProjects/b4i_default/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7/B4i\ Example.LinkFileList
write-file /Users/AaronMacPro/Desktop/macserver-2/UploadedProjects/b4i_default/build/B4iProject.build/Release-iphoneos/B4iProject.build/B4i\ Example-project-headers.hmap
write-file /Users/AaronMacPro/Desktop/macserver-2/UploadedProjects/b4i_default/build/B4iProject.build/Release-iphoneos/B4iProject.build/B4i\ Example-all-target-headers.hmap
write-file /Users/AaronMacPro/Desktop/macserver-2/UploadedProjects/b4i_default/build/B4iProject.build/Release-iphoneos/B4iProject.build/B4i\ Example-all-non-framework-target-headers.hmap
write-file /Users/AaronMacPro/Desktop/macserver-2/UploadedProjects/b4i_default/build/B4iProject.build/Release-iphoneos/B4iProject.build/B4i\ Example.hmap
write-file /Users/AaronMacPro/Desktop/macserver-2/UploadedProjects/b4i_default/build/B4iProject.build/Release-iphoneos/B4iProject.build/B4i\ Example-generated-files.hmap
Create product structure
/bin/mkdir -p /Users/AaronMacPro/Desktop/macserver-2/UploadedProjects/b4i_default/Payload/B4i\ Example.app
ProcessInfoPlistFile Payload/B4i\ Example.app/Info.plist B4iProject/B4iProject-Info.plist
cd /Users/AaronMacPro/Desktop/macserver-2/UploadedProjects/b4i_default
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
builtin-infoPlistUtility /Users/AaronMacPro/Desktop/macserver-2/UploadedProjects/b4i_default/B4iProject/B4iProject-Info.plist -genpkginfo /Users/AaronMacPro/Desktop/macserver-2/UploadedProjects/b4i_default/Payload/B4i\ Example.app/PkgInfo -expandbuildsettings -format binary -platform iphoneos -o /Users/AaronMacPro/Desktop/macserver-2/UploadedProjects/b4i_default/Payload/B4i\ Example.app/Info.plist
CompileC build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7/main.o B4iProject/main.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler
cd /Users/AaronMacPro/Desktop/macserver-2/UploadedProjects/b4i_default
export LANG=en_US.US-ASCII
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode.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=gnu99 -fobjc-arc -fmodules -gmodules -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -fbuild-session-file=/var/folders/1p/kw_s6xl11411w_xq3q0sltl00000gp/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 -Werror=return-type -Wno-implicit-atomic-properties -Werror=deprecated-objc-isa-usage -Werror=objc-root-class -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 -Wconditional-uninitialized -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 -DNS_BLOCK_ASSERTIONS=1 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.0.sdk -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -miphoneos-version-min=7.0 -fvisibility=hidden -Wno-sign-conversion -fembed-bitcode-marker -iquote /Users/AaronMacPro/Desktop/macserver-2/UploadedProjects/b4i_default/build/B4iProject.build/Release-iphoneos/B4iProject.build/B4i\ Example-generated-files.hmap -I/Users/AaronMacPro/Desktop/macserver-2/UploadedProjects/b4i_default/build/B4iProject.build/Release-iphoneos/B4iProject.build/B4i\ Example-own-target-headers.hmap -I/Users/AaronMacPro/Desktop/macserver-2/UploadedProjects/b4i_default/build/B4iProject.build/Release-iphoneos/B4iProject.build/B4i\ Example-all-target-headers.hmap -iquote /Users/AaronMacPro/Desktop/macserver-2/UploadedProjects/b4i_default/build/B4iProject.build/Release-iphoneos/B4iProject.build/B4i\ Example-project-headers.hmap -I/Users/AaronMacPro/Desktop/macserver-2/UploadedProjects/b4i_default/Payload/include -I/Users/AaronMacPro/Desktop/macserver-2/UploadedProjects/b4i_default/build/B4iProject.build/Release-iphoneos/B4iProject.build/DerivedSources/armv7 -I/Users/AaronMacPro/Desktop/macserver-2/UploadedProjects/b4i_default/build/B4iProject.build/Release-iphoneos/B4iProject.build/DerivedSources -F/Users/AaronMacPro/Desktop/macserver-2/UploadedProjects/b4i_default/Payload -F../../Libs -MMD -MT dependencies -MF /Users/AaronMacPro/Desktop/macserver-2/UploadedProjects/b4i_default/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7/main.d --serialize-diagnostics /Users/AaronMacPro/Desktop/macserver-2/UploadedProjects/b4i_default/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7/main.dia -c /Users/AaronMacPro/Desktop/macserver-2/UploadedProjects/b4i_default/B4iProject/main.m -o /Users/AaronMacPro/Desktop/macserver-2/UploadedProjects/b4i_default/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7/main.o
CompileC build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7/b4i_main.o B4iProject/b4i_main.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler
cd /Users/AaronMacPro/Desktop/macserver-2/UploadedProjects/b4i_default
export LANG=en_US.US-ASCII
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode.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=gnu99 -fobjc-arc -fmodules -gmodules -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -fbuild-session-file=/var/folders/1p/kw_s6xl11411w_xq3q0sltl00000gp/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 -Werror=return-type -Wno-implicit-atomic-properties -Werror=deprecated-objc-isa-usage -Werror=objc-root-class -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 -Wconditional-uninitialized -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 -DNS_BLOCK_ASSERTIONS=1 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.0.sdk -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -miphoneos-version-min=7.0 -fvisibility=hidden -Wno-sign-conversion -fembed-bitcode-marker -iquote /Users/AaronMacPro/Desktop/macserver-2/UploadedProjects/b4i_default/build/B4iProject.build/Release-iphoneos/B4iProject.build/B4i\ Example-generated-files.hmap -I/Users/AaronMacPro/Desktop/macserver-2/UploadedProjects/b4i_default/build/B4iProject.build/Release-iphoneos/B4iProject.build/B4i\ Example-own-target-headers.hmap -I/Users/AaronMacPro/Desktop/macserver-2/UploadedProjects/b4i_default/build/B4iProject.build/Release-iphoneos/B4iProject.build/B4i\ Example-all-target-headers.hmap -iquote /Users/AaronMacPro/Desktop/macserver-2/UploadedProjects/b4i_default/build/B4iProject.build/Release-iphoneos/B4iProject.build/B4i\ Example-project-headers.hmap -I/Users/AaronMacPro/Desktop/macserver-2/UploadedProjects/b4i_default/Payload/include -I/Users/AaronMacPro/Desktop/macserver-2/UploadedProjects/b4i_default/build/B4iProject.build/Release-iphoneos/B4iProject.build/DerivedSources/armv7 -I/Users/AaronMacPro/Desktop/macserver-2/UploadedProjects/b4i_default/build/B4iProject.build/Release-iphoneos/B4iProject.build/DerivedSources -F/Users/AaronMacPro/Desktop/macserver-2/UploadedProjects/b4i_default/Payload -F../../Libs -MMD -MT dependencies -MF /Users/AaronMacPro/Desktop/macserver-2/UploadedProjects/b4i_default/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7/b4i_main.d --serialize-diagnostics /Users/AaronMacPro/Desktop/macserver-2/UploadedProjects/b4i_default/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7/b4i_main.dia -c /Users/AaronMacPro/Desktop/macserver-2/UploadedProjects/b4i_default/B4iProject/b4i_main.m -o /Users/AaronMacPro/Desktop/macserver-2/UploadedProjects/b4i_default/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7/b4i_main.o
Ld Payload/B4i\ Example.app/B4i\ Example normal armv7
cd /Users/AaronMacPro/Desktop/macserver-2/UploadedProjects/b4i_default
export IPHONEOS_DEPLOYMENT_TARGET=7.0
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.0.sdk -L/Users/AaronMacPro/Desktop/macserver-2/UploadedProjects/b4i_default/Payload -L../../Libs -F/Users/AaronMacPro/Desktop/macserver-2/UploadedProjects/b4i_default/Payload -F../../Libs -filelist /Users/AaronMacPro/Desktop/macserver-2/UploadedProjects/b4i_default/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7/B4i\ Example.LinkFileList -miphoneos-version-min=7.0 -fembed-bitcode-marker -ObjC -fobjc-arc -fobjc-link-runtime -lCore -framework Foundation -framework CoreGraphics -framework UIKit -liNetwork -liRandomAccessFile -framework AVFoundation -lz -liDebug -Xlinker -dependency_info -Xlinker /Users/AaronMacPro/Desktop/macserver-2/UploadedProjects/b4i_default/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7/B4i\ Example_dependency_info.dat -o /Users/AaronMacPro/Desktop/macserver-2/UploadedProjects/b4i_default/Payload/B4i\ Example.app/B4i\ Example
ld: '../../Libs/libCore.a(B4INavigationControllerWrapper.o)' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Error: ** BUILD FAILED **

The following build commands failed:
Ld Payload/B4i\ Example.app/B4i\ Example normal armv7
(1 failure)

MAC:
Running xCode Version 7.0.1 (7A1001)
Running OS X EI Capitan 10.11 on a MacBook Pro 2.2HGHz
B4i 2.01

Windows:
Windows 10 Pro
B4i Version 2.00

Any ideas on what would cause this error to display and not allow me to debug my app ?
 
Top