iOS Question Still having problem with ' /Users/root/Library/Developer/Xcode/DerivedData is not a folder'

Robby

Member
Licensed User
Still trying to fix error whilst compiling with error message' /Users/root/Library/Developer/Xcode/DerivedData is not a folder' after upgrading Catalina and Xcode

Instruction was to add ‘xcode_cache=/Users/%user%/Library/Developer/Xcode/DerivedData’ to config.txt

Under BuildServer was example_config.txt which included that line. Renamed to config.txt.

Started the server but it did a wobbly and wouldn’t build. See error message below. Tried restart to no avail. Created new config.txt file. Build failed again.

Renamed config.txt to config1.txt. = Server worked. Tried a couple of times all ok. Noticed that a new example_config file .

Renamed config1.txt to config.txt. Server build failed as before.

Not sure where to go from here. Need to have config.txt to fix '/Users/root/Library/Developer/Xcode/DerivedData is not a folder' problem but config.txt causes server build fail.


Server build fail error message
Build server version: 6.51
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2020-03-27 15:36:02.043:INFO::main: Logging initialized @121ms to org.eclipse.jetty.util.log.StdErrLog
AppPath=/Users/robin 1/Documents/RN Documents/B4i/B4iBuildServer
config._vvvv1 (java line: 76)
java.lang.NumberFormatException: For input string: "null"
at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:2043)
at sun.misc.FloatingDecimal.parseDouble(FloatingDecimal.java:110)
at java.lang.Double.parseDouble(Double.java:538)
at anywheresoftware.b4a.BA.ObjectToNumber(BA.java:395)
at b4j.example.config._vvvv1(config.java:76)
at b4j.example.main._appstart(main.java:100)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:91)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:78)
at b4j.example.main.main(main.java:28)


Another Server build fail error message

Build server version: 6.51
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2020-03-27 15:41:51.289:INFO::main: Logging initialized @522ms to org.eclipse.jetty.util.log.StdErrLog
AppPath=/Users/robin 1/Documents/RN Documents/B4i/B4iBuildServer
config._vvvv1 (java line: 76)
java.lang.NumberFormatException: For input string: "null"
at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:2043)
at sun.misc.FloatingDecimal.parseDouble(FloatingDecimal.java:110)
at java.lang.Double.parseDouble(Double.java:538)
at anywheresoftware.b4a.BA.ObjectToNumber(BA.java:395)
at b4j.example.config._vvvv1(config.java:76)
at b4j.example.main._appstart(main.java:100)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:91)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:78)
at b4j.example.main.main(main.java:28)
 

Semen Matusovskiy

Well-Known Member
Licensed User
B4X:
Renamed config.txt to config1.txt. = Server worked
This confirms a problem inside config.txt.
But I don't see config.txt and similar inside the distributive (B4iBuildServer_650.zip) and in my B4iBuildServer folder.
Simply remove config.txt.
 

Robby

Member
Licensed User
The problem is fixed. It was caused by extended permissions on the files in Buildserver which was caused when re-installing a backup after upgrading to Catalina. As a result files wren locked. Erel sent me B4iBuildServer.zip which was installed in a virgin account. Edited config.txt and all worked first time. Thanks for your help.
 

luke2012

Well-Known Member
Licensed User
The problem is fixed. It was caused by extended permissions on the files in Buildserver which was caused when re-installing a backup after upgrading to Catalina. As a result files wren locked. Erel sent me B4iBuildServer.zip which was installed in a virgin account. Edited config.txt and all worked first time. Thanks for your help.
I have the same error on compilation (B4i 6.80 | MacOS 11.1 | local builder).
So which is the final solution to solve this error ?

This from @Erel (#4)
or in this post #4?
 

luke2012

Well-Known Member
Licensed User
Please post the full server logs.

Have you installed Xcode 12 and ran it?
1) Please post the full server logs.
See the file "build_server.txt"

2) Have you installed Xcode 12 and ran it?
Yes (see the screenshot)
Schermata 2021-01-11 alle 17.54.11.png


3) B4i 6.80 compile log
Schermata 2021-01-11 alle 17.55.49.png


I just upgraded to B4i 6.80 and wish I could use it.
If you need other info in order to help me please tell me.

I also tried to follow the tutorial to generate a new sign key but without success (see my iOS Question post) :-(

Thanks.
Luca.
 

Attachments

Last edited:

luke2012

Well-Known Member
Licensed User
Open Finder - choose Go - Go to folder - ~/Library

Do you see the relevant path? Try to create it if not.

View attachment 106036
Thanks @Erel for this useful suggestion.
Now I can compile and run the App on the iOS emulator:

Schermata 2021-01-13 alle 08.29.15.png


So in this case the workaround is to manually create the folder within Xcode path.
This because B4i can't create the folder (DerivedData) automatically if not found ?

Now I have to fix a little bug within the B4i project and than it should works.
Schermata 2021-01-13 alle 08.29.44.png
 
Top