iOS Question Could not delete error

db0070

Active Member
Licensed User
Longtime User
I am using local builder which is running the latest Xcode 11
I have recreated the csr and provisioning files. I cannot get past this error to debug my project. I have even tried deleting the UploadedProjects folder on my Mac

B4X:
B4i Version: 6.30
Parsing code.    (0.03s)
Building folders structure.    (0.03s)
Compiling code.    (0.22s)
Compiling layouts code.    (0.01s)
Compiling debugger engine code.    (0.00s)
Building Xcode project    (0.22s)
Sending data to remote compiler.    Error
Out: Command line invocation:
    /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild clean

note: Using new build system
error: Could not delete `/Users/dab/B4iServer/UploadedProjects/<user id>/build` because it was not created by the build system.


Error: ** CLEAN FAILED **

My test output on https://192.168.0.46:51042/test is:

B4i Build Server
Build server is running.
Version: 6.3
Server time: 15:41:59
Mac SSL Key
Key IP: 192.168.0.46
SSL port: 51042
 

db0070

Active Member
Licensed User
Longtime User
I have upgraded, and using the latest B4i V6.50 and I am still getting the error using the local builder. It compiles ok when using the hosted builder
I put the BuildServer in users/Shared directory on my Mac and deleted the previous Buildserver

The error is:-

B4i Version: 6.50
Parsing code. (0.03s)
Building folders structure. (0.02s)
Compiling code. (0.07s)
Compiling layouts code. (0.01s)
Building Xcode project (0.38s)
Sending data to remote compiler. Error
Out: Command line invocation:
/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild clean

note: Using new build system
error: Could not delete `/Users/Shared/B4iBuildServer/UploadedProjects/<user id>/build` because it was not created by the build system.


Error: ** CLEAN FAILED **

and the https://192.168.0.46:51042/test output is

B4i Build Server
Build server is running.
Version: 6.51
Server time: 18:38:45
Mac SSL Key
Key IP: 192.168.0.46
SSL port: 51042
 
Upvote 0

db0070

Active Member
Licensed User
Longtime User
I am still getting the same error. I am trying to run Build Simulator Release App
I have deleted the build folder manually. I also tried deleting the UploadedProjects folder. I also tried setting a different user id in build server settings

I see in the terminal window on the mac "success : true, 65" then the next line is the compilation time with success: false
Below is the error:-

note: Using new build system
error: Could not delete `/Users/Shared/B4iBuildServer/UploadedProjects/<user id>/build` because it was not created by the build system.
 
Upvote 0

db0070

Active Member
Licensed User
Longtime User
B4i Version: 6.50
Parsing code. (0.03s)
Building folders structure. (0.02s)
Compiling code. (0.06s)
Compiling layouts code. (0.01s)
Building Xcode project (0.18s)
Sending data to remote compiler. Error
Out: Command line invocation:
/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild clean

note: Using new build system
error: Could not delete `/Users/Shared/B4iBuildServer/UploadedProjects/<user id>/build` because it was not created by the build system.


Error: ** CLEAN FAILED **
 
Upvote 0

db0070

Active Member
Licensed User
Longtime User
sorry,

B4i Build Server
Build server is running.
Version: 6.51
Server time: 11:42:53
Mac SSL Key
Key IP: 192.168.137.213
SSL port: 51042h files
  • iFirebaseNotifications: 2.00
  • iCustomDialog: 1.00
  • iAdMob: 1.60
  • iXmlBuilder: 1.00
  • iEventKit: 1.00
  • iReleaseLogger: 1.00
  • iSideMenu: 1.01
  • iSVG: 1.20
  • iTableView: 1.21
  • iUI8: 1.61
  • iStringUtils: 1.02
  • iSQL: 1.50
  • iArchiver: 1.20
  • iXUI: 1.90
  • xCustomListView
  • iGameView: 1.05
  • iSpeechRecognition: 1.00
  • iHUD: 1.00
  • iNFC: 1.10
  • iLeadbolt: 2.00
  • iRandomAccessFile: 1.72
  • iGameCenter: 1.01
  • iHttp: 1.02
  • iStore: 1.21
  • iNet: 1.80
  • iGoogleMaps: 1.41
  • iXUI2D: 1.02
  • iCore: 6.50
  • iFacebook: 2.00
  • iBLE: 2.00
  • iBarcode: 1.20
  • iWebSocket: 1.10
  • iCallSubUtils
  • iXmlSax: 1.10
  • iDebug2: 1.60
  • iFirebaseAuth: 2.00
  • iMedia: 1.22
  • iFirebaseAnalytics: 2.00
  • iDesigner: 1.20
  • iDateUtils
  • iFirebaseStorage: 2.00
  • iTabStrip: 1.00
  • iCustomListView
  • iRSA: 1.0
  • iAd: 1.00
  • iEncryption: 1.03
  • iContacts: 1.00
  • iDebug: 1.60
  • iNetwork: 1.32
  • iPhone: 2.00
  • iLocation: 1.20
  • iBitmapCreator
  • iMQTT: 1.11
  • iAnalytics: 1.0
  • iUI9: 1.10
  • iJSON: 1.01
  • iDropboxSync: 1.00
  • iHttpUtils2
a files
  • libiBLE, size=228216, modified=08/17/2017 13:02:22
  • libiDropboxSync, size=80960, modified=05/04/2017 10:19:36
  • libiHttpUtils2, size=342992, modified=09/12/2018 11:21:28
  • libiHttp, size=118960, modified=01/26/2020 13:32:06
  • libiWebSocket, size=401984, modified=01/15/2018 13:53:58
  • libiXUI2D, size=8548840, modified=11/22/2018 13:28:12
  • libiCustomDialog, size=2720512, modified=08/17/2017 13:02:32
  • libiNetwork, size=267336, modified=11/19/2017 11:13:02
  • libxCustomListView, size=476232, modified=09/08/2019 15:45:02
  • libiLocation, size=125184, modified=08/17/2017 13:03:14
  • libiStore, size=75856, modified=05/15/2018 11:23:18
  • libiNFC, size=40104, modified=02/05/2019 15:43:46
  • libiHUD, size=291472, modified=08/17/2017 13:03:06
  • libiRandomAccessFile, size=399912, modified=08/17/2017 13:03:38
  • libiNet, size=559040, modified=12/14/2018 09:35:12
  • libiBitmapCreator, size=1490232, modified=06/17/2019 08:51:40
  • libiSpeechRecognition, size=168816, modified=08/17/2017 13:03:50
  • libiDebug2, size=1097984, modified=01/08/2019 16:25:52
  • libiXmlSax, size=62976, modified=08/17/2017 13:04:12
  • libiSQL, size=397456, modified=02/04/2019 17:53:30
  • libiEncryption, size=65824, modified=10/02/2019 08:39:20
  • libiUI8, size=625720, modified=12/05/2018 11:14:44
  • libiXUI, size=739576, modified=12/18/2018 09:03:30
  • libiContacts, size=142816, modified=08/17/2017 13:02:24
  • libiTableView, size=194152, modified=05/04/2017 10:19:36
  • libiDesigner, size=915616, modified=04/25/2019 09:47:54
  • libiCallSubUtils, size=126952, modified=08/17/2017 13:33:06
  • libCore, size=3751296, modified=02/17/2020 11:01:10
  • libiSVG, size=83312, modified=08/17/2017 13:56:48
  • libiTabStrip, size=1360128, modified=07/14/2019 13:39:02
  • libiAdMob, size=492088, modified=05/24/2018 10:55:56
  • libiCustomListView, size=316424, modified=08/27/2017 16:51:10
  • libiMQTT, size=1697472, modified=06/11/2019 08:16:08
  • libiFacebook, size=97720, modified=07/07/2019 17:13:46
  • libiUI9, size=145320, modified=01/27/2019 18:04:14
  • libiAd, size=39072, modified=08/17/2017 13:02:12
  • libiFirebaseAuth, size=170992, modified=07/07/2019 15:45:30
  • libiGoogleMaps, size=171080, modified=08/15/2018 08:30:24
  • libAdapterInMobi, size=1125360, modified=05/04/2017 10:19:34
  • libiAnalytics, size=39392, modified=08/17/2017 13:02:16
  • libiLeadbolt, size=21440, modified=05/04/2017 10:19:36
  • libiGameCenter, size=158080, modified=11/06/2017 06:50:46
  • libiFirebaseStorage, size=141728, modified=07/07/2019 15:44:04
  • libiJSON, size=52552, modified=05/28/2019 16:59:24
  • libiStringUtils, size=55272, modified=12/20/2018 08:06:48
  • libiBarcode, size=249056, modified=08/17/2017 13:02:20
  • libiPhone, size=326664, modified=08/17/2017 13:03:34
  • libiRSA, size=145648, modified=09/03/2017 10:01:38
  • libiGameView, size=4018288, modified=06/07/2018 10:02:00
  • libiFirebaseNotifications, size=54752, modified=07/07/2019 16:23:54
  • libiArchiver, size=463088, modified=08/17/2017 13:02:18
  • libiDateUtils, size=257440, modified=10/18/2017 11:21:58
  • libiXmlBuilder, size=151384, modified=08/17/2017 13:04:08
  • libiSideMenu, size=505920, modified=08/17/2017 13:03:44
  • libiMedia, size=259208, modified=10/25/2017 06:40:54
  • libiReleaseLogger, size=50136, modified=08/17/2017 12:03:40
  • libiEventKit, size=330256, modified=08/17/2017 13:56:26
  • libiFirebaseAnalytics, size=36496, modified=07/07/2019 15:46:04
 
Upvote 0

db0070

Active Member
Licensed User
Longtime User
Sorry again,

B4X:
dab@myMac b4ibuildserver % java -jar b4ibuildserver.jar
Build server version: 6.51
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2020-05-04 12:10:29.675:INFO::main: Logging initialized @375ms to org.eclipse.jetty.util.log.StdErrLog
Loading default configuration file.
AppPath=/Users/Shared/B4iBuildServer
Mac version: 10.15.4
Xcode path: /Applications/Xcode.app/Contents/Developer
Xcode version: 11.4
2020-05-04 12:10:31.048:INFO:oejs.Server:main: jetty-9.4.z-SNAPSHOT; built: 2018-05-03T15:56:21.710Z; git: daa59876e6f384329b122929e70a80934569428c; jvm 1.8.0_221-b11
2020-05-04 12:10:31.123:INFO:oejs.session:main: DefaultSessionIdManager workerName=node0
2020-05-04 12:10:31.123:INFO:oejs.session:main: No SessionScavenger set, using defaults
2020-05-04 12:10:31.129:INFO:oejs.session:main: node0 Scavenging every 660000ms
2020-05-04 12:10:31.140:INFO:oejsh.ContextHandler:main: Started o.e.j.s.ServletContextHandler@64bfbc86{/,file:///Users/Shared/B4iBuildServer/www,AVAILABLE}
2020-05-04 12:10:31.146:INFO:oejs.AbstractNCSARequestLog:main: Opened /Users/Shared/B4iBuildServer/logs/b4j-2020_05_04.request.log
2020-05-04 12:10:31.183:INFO:oejs.AbstractConnector:main: Started ServerConnector@13a5fe33{HTTP/1.1,[http/1.1]}{0.0.0.0:51041}
2020-05-04 12:10:31.231:INFO:oejus.SslContextFactory:main: x509=X509@6b09bb57(rootca,h=[],w=[]) for SslContextFactory@6536e911[provider=null,keyStore=file:///Users/Shared/B4iBuildServer/key/key.jks,trustStore=null]
2020-05-04 12:10:31.232:INFO:oejus.SslContextFactory:main: x509=X509@520a3426(jetty,h=[192.168.137.213],w=[]) for SslContextFactory@6536e911[provider=null,keyStore=file:///Users/Shared/B4iBuildServer/key/key.jks,trustStore=null]
2020-05-04 12:10:31.439:INFO:oejs.AbstractConnector:main: Started ServerConnector@1a8a8f7c{SSL,[ssl, http/1.1]}{0.0.0.0:51042}
2020-05-04 12:10:31.440:INFO:oejs.Server:main: Started @2151ms

Build server is ready

[URL unfurl="true"]https://192.168.137.213:51042[/URL]
[URL unfurl="true"]http://192.168.137.213:51041[/URL]
Build server version: 6.51

success: true, 65

12:11:48| Compilation time: 3368, a8ctenx, queue: 0, success: false success: true, 0
success: true, 0
success: true, 65
12:17:24| Compilation time: 3133, a8ctenx, queue: 0, success: false
success: true, 65
12:25:57| Compilation time: 3989, a8ctenx, queue: 0, success: false
success: true, 65
12:26:20| Compilation time: 2744, a8ctenx, queue: 0, success: false
 
Upvote 0

db0070

Active Member
Licensed User
Longtime User
Changed the user to a completely different. Still I get the error. Do I have to do anything in Xcode after I start it up?
 
Upvote 0

db0070

Active Member
Licensed User
Longtime User
I must be doing something wrong. This is what I did:

1. Installed Xcode after removing the previous one
2. Run Xcode and don't close it
3. Open Terminal and run java -jar B4i.jar (B4iBuildServer.jar is renamed to B4i.jar)
4. On my PC run B4i and open my project
5. Certificate and profile are defined as IOS_Distribution
6. Build Server Setting is: User Id yyyyyy (and making sure Hosted Builder is unticked)
7. Server IP is : as defined in the Terminal output on the Mac
8. Server Port is : 51042
9. Go to Tools->Build Server->Build Simulator App
10. And the same error persists.

Tried delete build folder and even the whole UploadedProjects folder

Also tried B4iBuildServer directory and sub directories to have Read & Write permissions to everyone

The error says "note: Using new build sysem - error: Could not delete '/users/dab/documents/B4i/UploadedProjects/<user id>/build' because it was not created by the build system"
 
Last edited:
Upvote 0

db0070

Active Member
Licensed User
Longtime User
Hosted builder is working - I just wanted to use local builder for the screenshots. I will try a few other things and post here if I succeed.
 
Upvote 0
Top