ios build failure on adding Startapp plugin

As the title says, I am not able to build for ios if I add that plugin in my build.settings. 

The build log on the console  says there’s an error linking the app and if I remove that plugin from my build settings, things go back to normal. 

I am pasting the response from build below and it appears the system has some difficulty finding the correct library ( I remember seeing similar errors back when I used to work with xcode but I’m not an expert)

\<result\>ld: library not found for -lSTATIC\_LIB\_NAME clang: error: linker command failed with exit code 1 (use -v to see invocation)\</result\> ERROR: Builder failed: ld: library not found for -lSTATIC\_LIB\_NAME clang: error: linker command failed with exit code 1 (use -v to see invocation) BUILD ERROR: There was a problem linking the app.

I should clarify that the problem is not with my code as I am not invoking the associated scripts-- like I said above, if I remove the plugin from my build, things go through fine. 

I use the following publisher ID as per the APIs to include the plugin

 ["plugin.startapp"] = { publisherId = "com.startapp" },

I am away from work for a couple of days and unfortunately don’t have an Android device to test. Any help would be much appreciated. 

StartApp is Android only. There appears to be an issue with the stub plugin for iOS that should just say “The plugin isn’t available” and should prevent errors. I’ll get engineering to look into it.

To prevent the problem temporarily, you can add this to build settings:

 ["plugin.startapp"] = { publisherId = "com.coronalabs", supportedPlatforms = { android=true } },

and in your code, test to see if you’re on Android or not and wrap your startapp calls in an “if” test to see if you’re on Android or not.

Rob

Hey there,

We’ve fixed ios/iossim stubs and everything seems to be setted up right, but since the StartApp team is responsible for a sources fixes/updates, we can’t check it on our test sample for that plugin.
 

@​shashwat,

Can you confirm that the issue is fixed for you?

StartApp is Android only. There appears to be an issue with the stub plugin for iOS that should just say “The plugin isn’t available” and should prevent errors. I’ll get engineering to look into it.

To prevent the problem temporarily, you can add this to build settings:

 ["plugin.startapp"] = { publisherId = "com.coronalabs", supportedPlatforms = { android=true } },

and in your code, test to see if you’re on Android or not and wrap your startapp calls in an “if” test to see if you’re on Android or not.

Rob

Hey there,

We’ve fixed ios/iossim stubs and everything seems to be setted up right, but since the StartApp team is responsible for a sources fixes/updates, we can’t check it on our test sample for that plugin.
 

@​shashwat,

Can you confirm that the issue is fixed for you?