nativescript-community / nativescript-community/ui-webview

Release build fails

Open
#2 0 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
22
Forks
9
PR merge metrics
No merged PRs in 30d

Description

I get this error whenever I build my app for iOS using the --release flag. It builds without an error when I omit the flag.
![webview-build-error](https://user-images.githubusercontent.com/44656971/142411691-52e3318a-ed51-44b1-95e1-1d4eb7ac41db.png.

My environment:
OS: macOS 12.0.1
CPU: (16) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
Shell: /bin/zsh
node: 16.13.0
npm: 8.1.3
nativescript: 8.1.4

android

java: 11.0.13
ndk: Not Found
apis: Not Found
build_tools: Not Found
system_images: Not Found

ios

xcode: 13.1/13A1030d
cocoapods: 1.11.2
python: 2.7.18
python3: 3.10.0
ruby: 2.6.8
platforms:

  • DriverKit 21.0.1
  • iOS 15.0
  • macOS 12.0
  • tvOS 15.0
  • watchOS 8.0

### Dependencies

```json
"dependencies": {
  "@finanzritter/nativescript-pdf-view": "^3.0.3",
  "@nativescript-community/geocoding": "^3.1.0",
  "@nativescript-community/gps": "^3.1.0",
  "@nativescript-community/https": "^3.3.2",
  "@nativescript-community/ui-collectionview": "^4.0.47",
  "@nativescript-community/ui-webview": "^1.3.2",
  "@nativescript/camera": "^5.0.9",
  "@nativescript/core": "^8.1.5",
  "@nativescript/email": "^2.0.5",
  "@nativescript/fingerprint-auth": "^8.0.0",
  "@nativescript/firebase-core": "alpha",
  "@nativescript/firebase-messaging": "alpha",
  "@nativescript/imagepicker": "^1.0.5",
  "@nativescript/ios-security": "^1.0.0",
  "@nativescript/local-notifications": "^5.0.3",
  "@nativescript/secure-storage": "^3.0.0",
  "@nativescript/social-share": "^2.0.4",
  "@nativescript/theme": "^3.0.2",
  "@nstudio/nativescript-exoplayer": "^5.0.9",
  "@souriscloud/nativescript-bitmap-factory": "^2.0.0",
  "@souriscloud/nativescript-google-maps-sdk": "^3.0.3",
  "@triniwiz/nativescript-stripe": "^7.0.1",
  "@triniwiz/nativescript-toasty": "^4.1.3",
  "base-64": "^1.0.0",
  "nativescript-calendar": "^3.0.0",
  "nativescript-clipboard": "^2.1.1",
  "nativescript-menu": "^1.1.7",
  "nativescript-phone": "^3.0.2",
  "nativescript-ui-listview": "^10.0.2",
  "nativescript-ui-sidedrawer": "^10.0.2",
  "rxjs": "^7.4.0",
  "utf8": "^3.0.0"
},
"devDependencies": {
  "@nativescript/android": "^8.1.1",
  "@nativescript/ios": "^8.1.0",
  "@nativescript/types": "^8.1.1",
  "@nativescript/webpack": "^5.0.1",
  "typescript": "^4.5.2"
}

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the iOS release build using the reported macOS, Xcode, NativeScript, and dependency versions, then inspect the attached webview-build-error screenshot. The issue does not name a source file or test; done means identifying the release-only failure and confirming that the app builds successfully with --release.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, typescript
Domain
build-system, mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.