I think the library added a dependency on the JSONObject cn1lib, try 
installing that too and see if it solves the issue. 

FYI for future reference this is how I understood it from the large log.

This is the bottom of the file the error marks the specific file that 
failed:

The following build commands failed:
    CompileC 
/var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcm0000gn/T/build1847740663429161654xxx/dist/build/Build/Intermediates.noindex/ArchiveIntermediates/GDShiftLight/IntermediateBuildFilesPath/GDShiftLight.build/Release-iphoneos/GDShiftLight.build/Objects-normal/arm64/
*com_codename1_bluetoothle_Bluetooth*.o 
/var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcm0000gn/T/build1847740663429161654xxx/dist/GDShiftLight-src/
*com_codename1_bluetoothle_Bluetooth*.m normal arm64 objective-c 
com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
Process return code is 65
Failed xcodebuild step

Searching the file for com_codename1_bluetoothle_Bluetooth leads to this:

/var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcm0000gn/T/build1847740663429161654xxx/dist/GDShiftLight-src/com_codename1_bluetoothle_Bluetooth.m:168:23:
 
error: implicit declaration of function 
'ca_weblite_codename1_json_JSONObject___INIT_____java_util_Map' is invalid 
in C99 [-Werror,-Wimplicit-function-declaration]
    /* CustomInvoke 
*/ca_weblite_codename1_json_JSONObject___INIT_____java_util_Map(threadStateData,
 
SP[-1].data.o, locals[4].data.o);     SP -= 1;

And while that's a bit obtuse you can see that 
ca_weblite_codename1_json_JSONObject is missing. The syntax matches package 
name + class name. 
On Monday, July 27, 2020 at 6:44:06 AM UTC+3 [email protected] 
wrote:

> I have a couple of apps that use the Bluetooth library that Steve just 
> updated. I made sure to update and refresh the libs on the apps. One app 
> was able to build and I have loaded it to the Apple store for review and 
> release. The other app fails the build. The 2 apps I have are very similar, 
> so I am able to compare most of the Bluetooth-related classes and there are 
> no differences I can see that would cause any issue. Both apps built fine 
> before the Bluetooth update and were published on the app store. Any ideas 
> where to look? The errors look like this:
> /var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcm0000gn/T/
> build1847740663429161654xxx/dist/GDShiftLight-src/
> com_codename1_bluetoothle_Bluetooth.m:168:23: error: implicit declaration 
> of function 
> 'ca_weblite_codename1_json_JSONObject___INIT_____java_util_Map' is 
> invalid in C99 [-Werror,-Wimplicit-function-declaration]
>     /* CustomInvoke */
> ca_weblite_codename1_json_JSONObject___INIT_____java_util_Map(
> threadStateData, SP[-1].data.o, locals[4].data.o);     SP -= 1;
>
> I've attached the full log. I had first installed the JSON extension and 
> refreshed libs, and then installed the bluetooth lib and refreshed. What 
> should I look for or try?
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/2d278cb2-f442-42a1-acd9-cda3b36f4bc6n%40googlegroups.com.

Reply via email to