Open skle opened 4 years ago
The plugin fails at afterPrepareHook.js. The error I got was:
v1.indexOf is not a function
I found out this has to do with comparing IPHONEOS_DEPLOYMENT_TARGET in hooks/lib/ios/xcodePreferences.js
In my case it tried to compare an integer with a string. The integer was set by the deployment-target preference in the app's config.xml:
<preference name="deployment-target" value="11" />
Changing the value fixed the issue:
<preference name="deployment-target" value="11.0" />
The plugin fails at afterPrepareHook.js. The error I got was:
v1.indexOf is not a function
I found out this has to do with comparing IPHONEOS_DEPLOYMENT_TARGET in hooks/lib/ios/xcodePreferences.js
In my case it tried to compare an integer with a string. The integer was set by the deployment-target preference in the app's config.xml:
<preference name="deployment-target" value="11" />
Changing the value fixed the issue:
<preference name="deployment-target" value="11.0" />