iOS Question Which step I took wrong about the Simulator

lyl

Member
Licensed User
Dear @Erel

I'm using hosted builder, I followed this two tutorials:
Creating a certificate and provisioning profile
Installing B4i-Bridge and debugging first app
My iPhone 8(ios 16.1) is successfully installed! Thank you so much!

But unable to run in simulator. Because apple store needs a set of screenshots(iphone and ipad ),I also want the app to run on the simulator,and test my app.
Can you give me a hand? I don't know where the problem is,It's too hard.For example, step 2、step 3.... or build server
or simulator's UDID ?

I followed this tutorial :Local Mac Builder Installation
I Installed JDK 8 and xcode 14.2(VMware macOS 12.6.2 (21G320)).
The steps are as follows:
1. Install jdk-8u351-macosx-x64.dmg
2. Install Xcode 14.2
2.5. I run Xcode 14.2 , But there is no prompt to install the additional components.
3."B4iBuildServer.zip" from my mail (Mailbox sendersr:[email protected])
I right-click open B4iBuildServer.jar in macOS.
4. I set the builder IP address in the IDE under Tools - Build Server - Server Settings (my VMware macos ip 192.168.124.19)
tips:
B4i Build Server
Build server is running.
Version: 8.1
Server time: 10:03:40
Mac SSL Key
Key IP: 192.168.124.19
SSL port: 51042
h files
a files

5. I click device-simulator,It appears the Visual Designer interface.
6. I click "run(F5)", it is Error, It's too much, I won't send it all, I'll send it to you if needed.
tips:
B4X:
B4i Version: 8.10
Parsing code.    (0.00s)
Building folders structure.    (0.03s)
Compiling code.    (0.00s)
Compiling layouts code.    (0.00s)
Compiling debugger engine code.    (0.00s)
Building Xcode project.    (0.10s)
Preparing project for builder.    (0.02s)
    Project size: 0.15 MB
Sending data to remote compiler.    Error
Out: Command line invocation:
    /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -configuration Release "PRODUCT_NAME=B4i Example" CONFIGURATION_BUILD_DIR=/private/var/folders/t1/h4s05fm56t57hps0t3lkfmg40000gn/T/hsperfdata_mac12/UploadedProjects/<user id>/Payload CODE_SIGNING_REQUIRED=NO -sdk iphonesimulator -arch x86_64

User defaults from command line:
    IDEPackageSupportUseBuiltinSCM = YES

Build settings from command line:
    ARCHS = x86_64
    CODE_SIGNING_REQUIRED = NO
    CONFIGURATION_BUILD_DIR = /private/var/folders/t1/h4s05fm56t57hps0t3lkfmg40000gn/T/hsperfdata_mac12/UploadedProjects/<user id>/Payload
    PRODUCT_NAME = B4i Example
    SDKROOT = iphonesimulator16.2

Computing target dependency graph and provisioning inputs

Create build description
Build description signature: 124a268afac3ae35aa5bbcbf0b0b27e9
Build description path: /var/folders/t1/h4s05fm56t57hps0t3lkfmg40000gn/T/hsperfdata_mac12/UploadedProjects/<user id>/build/XCBuildData/124a268afac3ae35aa5bbcbf0b0b27e9-desc.xcbuild

warning: Building targets in manual order is deprecated - check "Parallelize build for command-line builds" in the project editor, or set DISABLE_MANUAL_TARGET_ORDER_BUILD_WARNING in any of the targets in the current build to suppress this warning
CreateBuildDirectory /private/var/folders/t1/h4s05fm56t57hps0t3lkfmg40000gn/T/hsperfdata_mac12/UploadedProjects/<user id>/Payload
    cd /var/folders/t1/h4s05fm56t57hps0t3lkfmg40000gn/T/hsperfdata_mac12/UploadedProjects/<user id>/B4iProject.xcodeproj
    builtin-create-build-directory /private/var/folders/t1/h4s05fm56t57hps0t3lkfmg40000gn/T/hsperfdata_mac12/UploadedProjects/<user id>/Payload

CreateBuildDirectory /var/folders/t1/h4s05fm56t57hps0t3lkfmg40000gn/T/hsperfdata_mac12/UploadedProjects/<user id>/build
    cd /var/folders/t1/h4s05fm56t57hps0t3lkfmg40000gn/T/hsperfdata_mac12/UploadedProjects/<user id>/B4iProject.xcodeproj
    builtin-create-build-directory /var/folders/t1/h4s05fm56t57hps0t3lkfmg40000gn/T/hsperfdata_mac12/UploadedProjects/<user id>/build

CreateBuildDirectory /var/folders/t1/h4s05fm56t57hps0t3lkfmg40000gn/T/hsperfdata_mac12/UploadedProjects/<user id>/build/EagerLinkingTBDs
    cd /var/folders/t1/h4s05fm56t57hps0t3lkfmg40000gn/T/hsperfdata_mac12/UploadedProjects/<user id>/B4iProject.xcodeproj
    builtin-create-build-directory /var/folders/t1/h4s05fm56t57hps0t3lkfmg40000gn/T/hsperfdata_mac12/UploadedProjects/<user id>/build/EagerLinkingTBDs

/var/folders/t1/h4s05fm56t57hps0t3lkfmg40000gn/T/hsperfdata_mac12/UploadedProjects/<user id>/B4iProject.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 11.0 to 16.2.99. (in target 'B4iProject' from project 'B4iProject')
MkDir /private/var/folders/t1/h4s05fm56t57hps0t3lkfmg40000gn/T/hsperfdata_mac12/UploadedProjects/<user id>/Payload/B4i\ Example.app (in target 'B4iProject' from project 'B4iProject')
    cd /var/folders/t1/h4s05fm56t57hps0t3lkfmg40000gn/T/hsperfdata_mac12/UploadedProjects/<user id>
    /bin/mkdir -p /private/var/folders/t1/h4s05fm56t57hps0t3lkfmg40000gn/T/hsperfdata_mac12/UploadedProjects/<user id>/Payload/B4i\ Example.app

WriteAuxiliaryFile /var/folders/t1/h4s05fm56t57hps0t3lkfmg40000gn/T/hsperfdata_mac12/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/DerivedSources/Entitlements-Simulated.plist (in target 'B4iProject' from project 'B4iProject')
    cd /var/folders/t1/h4s05fm56t57hps0t3lkfmg40000gn/T/hsperfdata_mac12/UploadedProjects/<user id>
    write-file /var/folders/t1/h4s05fm56t57hps0t3lkfmg40000gn/T/hsperfdata_mac12/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/DerivedSources/Entitlements-Simulated.plist

WriteAuxiliaryFile /var/folders/t1/h4s05fm56t57hps0t3lkfmg40000gn/T/hsperfdata_mac12/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/DerivedSources/Entitlements.plist (in target 'B4iProject' from project 'B4iProject')
    cd /var/folders/t1/h4s05fm56t57hps0t3lkfmg40000gn/T/hsperfdata_mac12/UploadedProjects/<user id>
    write-file /var/folders/t1/h4s05fm56t57hps0t3lkfmg40000gn/T/hsperfdata_mac12/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/DerivedSources/Entitlements.plist

ProcessProductPackaging /var/folders/t1/h4s05fm56t57hps0t3lkfmg40000gn/T/hsperfdata_mac12/UploadedProjects/<user id>/B4i.entitlements /var/folders/t1/h4s05fm56t57hps0t3lkfmg40000gn/T/hsperfdata_mac12/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/B4i\ Example.app-Simulated.xcent (in target 'B4iProject' from project 'B4iProject')
    cd /var/folders/t1/h4s05fm56t57hps0t3lkfmg40000gn/T/hsperfdata_mac12/UploadedProjects/<user id>
    
    Entitlements:
    
    {
    "application-identifier" = "R2W3K92J4W.com.def";
}
    
    builtin-productPackagingUtility
 

Attachments

  • N]{GD$}B_(L8]0[V`2FCCR0.png
    N]{GD$}B_(L8]0[V`2FCCR0.png
    10.2 KB · Views: 77
  • 4RG{YH0V`12SO@_$PK_HFKQ.png
    4RG{YH0V`12SO@_$PK_HFKQ.png
    376.8 KB · Views: 76
  • VK3DB87NN`C%B8`$M43C[EC.png
    VK3DB87NN`C%B8`$M43C[EC.png
    19.4 KB · Views: 74
  • iPhone.JPG
    iPhone.JPG
    51.5 KB · Views: 60
Solution
tip: search for "error:".

error: 'iCore.h' file not found

It looks like the libs folder is missing or you haven't started the builder from inside its folder.

lyl

Member
Licensed User
tip: search for "error:".

error: 'iCore.h' file not found

It looks like the libs folder is missing or you haven't started the builder from inside its folder.
i started it .
Thank you very much,@Erel
Sorry, I'm not familiar with macOS. The problem is path permissions,I put it in macOS's Library,It worked!!!
B4i is a very successful product. I strongly recommend it.
ok.JPG
 
Upvote 0
Top