NativeScript / ios-jsc

NativeScript for iOS using JavaScriptCore

Home Page:http://docs.nativescript.org/runtimes/ios

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build containing @next rejected by Apple:

NickIliev opened this issue · comments

From @abhayastudios on September 16, 2018 18:28

Tell us about the problem

Build containing @next rejected by Apple:

We identified one or more issues with a recent delivery for your app, "MyApp". Please correct the following issues, then upload again.

Non-public API usage:

  • The app references non-public symbols in Frameworks/NativeScript.framework/NativeScript: _CCRandomCopyBytes, _kCCRandomDefault

If method names in your source code match the private Apple APIs listed above, altering your method names will help prevent this app from being flagged in future submissions. In addition, note that one or more of the above APIs may be located in a static library that was included with your app. If so, they must be removed.

Which platform(s) does your issue occur on?

iOS

Please provide the following version numbers that your issue occurs with:

$ tns info
✔ Getting NativeScript components versions information...
✔ Component nativescript has 4.2.3 version and is up to date.
✔ Component tns-core-modules has 4.3.0-2018-09-14-01 version and is up to date.
✔ Component tns-android has 4.2.0 version and is up to date.
✔ Component tns-ios has 4.3.0-2018-09-13-01 version and is up to date.

Copied from original issue: NativeScript/NativeScript#6272

@abhayastudios can you post the content of your package.json.

From @abhayastudios on September 17, 2018 7:56

I was able to upload to Apple after reverting back to tns-core-modules and tns-ios version 4.2.0.

{
  "description": "MyApp",
  "license": "SEE LICENSE IN <your-license-filename>",
  "readme": "NativeScript Application",
  "repository": "<fill-your-repository-here>",
  "nativescript": {
    "id": "com.abhayastudios.myapp",
    "tns-android": {
      "version": "4.2.0"
    },
    "tns-ios": {
      "version": "4.3.0-2018-09-13-01"
    }
  },
  "dependencies": {
    "@angular/animations": "~6.1.0",
    "@angular/common": "~6.1.0",
    "@angular/compiler": "~6.1.0",
    "@angular/core": "~6.1.0",
    "@angular/forms": "~6.1.0",
    "@angular/http": "~6.1.0",
    "@angular/platform-browser": "~6.1.0",
    "@angular/platform-browser-dynamic": "~6.1.0",
    "@angular/router": "~6.1.0",
    "moment": "^2.18.1",
    "nativescript-angular": "~6.1.0",
    "nativescript-appversion": "^1.4.1",
    "nativescript-bitmap-factory": "^1.7.1",
    "nativescript-feedback": "^1.2.0",
    "nativescript-geolocation": "^4.2.6",
    "nativescript-imagepicker": "^6.0.2",
    "nativescript-iqkeyboardmanager": "^1.2.0",
    "nativescript-ngx-slides": "^1.0.6",
    "nativescript-platform-css": "^1.6.6",
    "nativescript-plugin-firebase": "^6.8.1",
    "nativescript-social-share": "^1.5.0",
    "nativescript-store-update": "^1.0.2",
    "nativescript-theme-core": "~1.0.4",
    "nativescript-ui-listview": "^3.6.1",
    "nativescript-web-image-cache": "^4.2.6",
    "reflect-metadata": "~0.1.8",
    "rxjs": "~6.0.0",
    "rxjs-compat": "^6.2.1",
    "tns-core-modules": "next",
    "zone.js": "^0.8.26"
  },
  "devDependencies": {
    "@angular/compiler-cli": "~6.1.0",
    "@ngtools/webpack": "~6.1.0",
    "babel-traverse": "6.26.0",
    "babel-types": "6.26.0",
    "babylon": "6.18.0",
    "lazy": "1.0.11",
    "nativescript-dev-typescript": "~0.7.0",
    "nativescript-dev-webpack": "^0.15.1",
    "typescript": "~2.7.2"
  }
}

The tns-core-mdules in package-lock.json is 4.3.0-2018-09-14-01.

Related to the latest version of WebKit used by tns-ios- moving the issue in the runtime repository for further investigation.

@abhayastudios Version 4.3.0-2018-09-18-01 is published as @next in NPM and should resolve the issue. Feel free to give it a try.

@mbektchiev I can confirm this is working now! Thanks a lot for the fast solution.