Sat, 17 Oct 2020 08:29:01 GMT
Join the conversation at slack.cordova.io
Fri, 16 Oct 2020 09:34:55 GMT
@prasunjajodia says
is it just in React? If it was angular, I‘d suggest markForCheck() in the changedetection reference. If it’s the browser not detecting that it has to repaint, that should solve the issue
Fri, 16 Oct 2020 10:18:40 GMT
@abul.asar22 says
I am getting this error on upgrading iOS to
6.1.1
and I am getting this errorerror: Named colors do not work prior to iOS 11.0.
on CI. Can anyone guide me in fixing this ?
Fri, 16 Oct 2020 10:38:55 GMT
@gh says
Are you specifying
deployment-target
in your config.xml? You may be specifying to build for an old version of iOS. Try changing to to this:<preference name="deployment-target" value="12.0"/>
Fri, 16 Oct 2020 10:39:09 GMT
@gh says
Or not specifying it at all.
Fri, 16 Oct 2020 13:50:43 GMT
@khatridevk says
cordova-ios@6.1.1
showing me white screen on start, got to know that there are some changes wrt splash screen. Removed older <splash> tags and kept only one. Still seeing the white screen. LaunchStoryboard has the image I gave in <splash> in config.xml. But on start it is not showing... anything I am missing !!
Fri, 16 Oct 2020 13:04:29 GMT
@pablo.caselas says
@niklasmerz could you please help me add your cordova-ios proxy branch to my project? I'm still getting that error after removing node-modules
Fri, 16 Oct 2020 13:05:45 GMT
@pablo.caselas says
by the way, are you taking care of utf8 characters on cordova-ios? on your ionic webview branch, I had to change it to
NSURL * requestUrl = [NSURL URLWithString:webStringURL];```
Fri, 16 Oct 2020 13:06:15 GMT
@pablo.caselas says
Otherwise, if startPath had a character like this... “รก” requestUrl would be nil and the app would break
Fri, 16 Oct 2020 13:08:07 GMT
@pablo.caselas says
I must be something wrong for adding cordova-ios because if I add it like this:
cordova platform add ios
it works just fine, but if i add it like thiscordova platform add ../cordova-ios
, I get the error and I can't install it
Fri, 16 Oct 2020 13:09:17 GMT
@pablo.caselas says
../cordova-ios
is your branch downloaded locally + I've executed npm install on it
Fri, 16 Oct 2020 13:15:04 GMT
@niklasmerz says
I always install the branch directly from github or a local folder without problems. Something else must be not working correctly for your app
Fri, 16 Oct 2020 14:18:41 GMT
@pablo.caselas says
I‘ve upgraded from cordova-9 to cordova-10 but now I can’t install cordova-ios and I don‘t know what’s going on
Fri, 16 Oct 2020 14:19:08 GMT
@pablo.caselas says
I‘m also using node 14, I don’t know if it's supported
Fri, 16 Oct 2020 14:20:44 GMT
@norman137 says
are you using npm 7?
Fri, 16 Oct 2020 14:28:10 GMT
@pablo.caselas says
nope
Fri, 16 Oct 2020 14:28:12 GMT
@pablo.caselas says
hang on
Fri, 16 Oct 2020 14:30:09 GMT
@pablo.caselas says
am I doing something wrong?
Fri, 16 Oct 2020 14:35:03 GMT
@pablo.caselas says
I installed 7.0.1 but I have the same errors
Fri, 16 Oct 2020 14:38:04 GMT
@norman137 says
It's just that the cannot determine package name from output error is a known issue starting from npm7
Fri, 16 Oct 2020 14:38:34 GMT
@pablo.caselas says
aha
Fri, 16 Oct 2020 14:38:47 GMT
@pablo.caselas says
I was using 6.x
Fri, 16 Oct 2020 14:38:56 GMT
@norman137 says
Just wanted to rule the possibility you were using the npm 7 beta or something
Fri, 16 Oct 2020 14:39:49 GMT
@pablo.caselas says
but upgraded to npm7
Fri, 16 Oct 2020 14:39:50 GMT
@pablo.caselas says
back to 6 but... still failing
Fri, 16 Oct 2020 14:39:50 GMT
@pablo.caselas says
6.14.8 to be exact
Fri, 16 Oct 2020 14:40:30 GMT
@pablo.caselas says
when doing
cordova plaftorm add ios
Failed to fetch platform cordova-ios@^6.1.1 Probably this is either a connection problem, or platform spec is incorrect. Check your connection and platform name/version/URL. CordovaError: CordovaError: Could not determine package name from output: audited 85 packages in 6.632s found 0 vulnerabilities```
Fri, 16 Oct 2020 14:40:48 GMT
@pablo.caselas says
this is a clean project created with cordova 10
Fri, 16 Oct 2020 14:41:46 GMT
@pablo.caselas says
if it had something to do with connection... it shouldn't fail for local folder, right?
Fri, 16 Oct 2020 14:42:14 GMT
@pablo.caselas says
could anybody please create an empty project and add cordova-ios and see that it works just fine?
Fri, 16 Oct 2020 14:42:22 GMT
@norman137 says
How are you constructing your
cordova platform add
command?
Fri, 16 Oct 2020 14:42:53 GMT
@norman137 says
cause it doesn‘t look like you’re attempting to install from a local folder, looks like you're attempting to install from npm
Fri, 16 Oct 2020 14:45:43 GMT
@pablo.caselas says
I also do cordova platform add ../cordova-ios but it fails as well
Fri, 16 Oct 2020 14:47:05 GMT
@norman137 says
I'm not sure if this makes a difference but when I install from local fs, I prefix the path with
file:
sooocordova platform add file:../cordova-ios
Fri, 16 Oct 2020 14:47:11 GMT
@pablo.caselas says
Fri, 16 Oct 2020 14:49:00 GMT
@pablo.caselas says
just to make sure I have ../cordova-ios in place
Fri, 16 Oct 2020 14:57:51 GMT
@dpogue says
Maybe try with the full path instead of a relative one?
cordova platform add file:///Users/pablo/full/path/to/cordova-ios
Fri, 16 Oct 2020 14:57:58 GMT
@pablo.caselas says
ok
Fri, 16 Oct 2020 14:58:30 GMT
@pablo.caselas says
same thing
Fri, 16 Oct 2020 16:12:17 GMT
@erisu says
What if you run
npm pack
on the forked clone and then try with the tarbal it created to see?
Fri, 16 Oct 2020 19:24:31 GMT
@pablo.caselas says
@erisu that does work thanks!