iOS Question Compile to Library by Local MAC Build Server

Steve Kwok

Member
Licensed User
I have just moved from B4A to B4i and try to convert B4A library to B4i library...
I have local MAC Build Server which function well (I.e. Build B4i-Bridge App, Build Release App and Build Simulator Release App are successful).
However, the local Build Server failed to Compile To Library.

b4i-cannot-build-library.png

At the MAC Build Server's Terminal:
b4i-local-mac-build-server.png


The error message shown:
Error Message:
B4i Version: 6.30
Parsing code.    (0.01s)
Building folders structure.    (0.08s)
Compiling code.    (0.01s)
Building XML file.    (0.00s)
Building Xcode project    (0.18s)
Sending data to remote compiler.    Error
Error: 2020-01-20 13:28:17.643 xcodebuild[9188:74234] CFPropertyListCreateFromXMLData(): Old-style plist parser: missing semicolon in dictionary on line 25. Parsing will be abandoned. Break on _CFPropertyListMissingSemicolon to debug.
2020-01-20 13:28:17.643 xcodebuild[9188:74234] CFPropertyListCreateFromXMLData(): Old-style plist parser: missing semicolon in dictionary on line 25. Parsing will be abandoned. Break on _CFPropertyListMissingSemicolon to debug.
2020-01-20 13:28:17.644 xcodebuild[9188:74234] Error Domain=NSCocoaErrorDomain Code=3840 "Unexpected character / at line 1" UserInfo={NSDebugDescription=Unexpected character / at line 1, kCFPropertyListOldStyleParsingError=Error Domain=NSCocoaErrorDomain Code=3840 "Missing ';' on line 25" UserInfo={NSDebugDescription=Missing ';' on line 25}}
xcodebuild: error: Unable to read project 'B4iProject.xcodeproj'.
    Reason: The project ‘B4iProject’ is damaged and cannot be opened due to a parse error. Examine the project file for invalid edits or unresolved source control conflicts.

Path: /Users/support/Applications/B4i/B4iBuildServer/UploadedProjects/<user id>/B4iProject.xcodeproj



Out: User defaults from command line:
    configuration = Release

Build settings from command line:
    ARCHS = armv7 arm64
    ENABLE_BITCODE = NO


Error: 2020-01-20 13:28:18.334 xcodebuild[9204:74471] CFPropertyListCreateFromXMLData(): Old-style plist parser: missing semicolon in dictionary on line 25. Parsing will be abandoned. Break on _CFPropertyListMissingSemicolon to debug.
2020-01-20 13:28:18.334 xcodebuild[9204:74471] CFPropertyListCreateFromXMLData(): Old-style plist parser: missing semicolon in dictionary on line 25. Parsing will be abandoned. Break on _CFPropertyListMissingSemicolon to debug.
2020-01-20 13:28:18.334 xcodebuild[9204:74471] Error Domain=NSCocoaErrorDomain Code=3840 "Unexpected character / at line 1" UserInfo={NSDebugDescription=Unexpected character / at line 1, kCFPropertyListOldStyleParsingError=Error Domain=NSCocoaErrorDomain Code=3840 "Missing ';' on line 25" UserInfo={NSDebugDescription=Missing ';' on line 25}}
xcodebuild: error: Unable to read project 'B4iProject.xcodeproj'.
    Reason: The project ‘B4iProject’ is damaged and cannot be opened due to a parse error. Examine the project file for invalid edits or unresolved source control conflicts.

Path: /Users/support/Applications/B4i/B4iBuildServer/UploadedProjects/<user id>/B4iProject.xcodeproj

It seems to be the plist's format problem. Can Anyone help to solve it?
 

Steve Kwok

Member
Licensed User
Hi Erel,
my codes for making B4i library is uploaded as projCustomCollection.zip.
This library is proposed to log something in text files.
 

Attachments

  • projCustomCollection.zip
    4.4 KB · Views: 246
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
Compiles fine here. Tested with Xcode 11.

Make it a b4xlib. It is very simple and it will work better.
You just need to create a zip file with the class and optionally add a manifest file.
 
Upvote 0
Top