Skip to content
This repository was archived by the owner on Aug 7, 2021. It is now read-only.
This repository was archived by the owner on Aug 7, 2021. It is now read-only.

Problem with submitting a webpacked .ipa to the app store #159

Closed

Description

@bnussey

I'm trying to archive a webpacked .ipa to the app store withnpm run build-ios-bundle -- --release --for-device but getting the following errors:

diff: /Podfile.lock: No such file or directory
diff: /Manifest.lock: No such file or directory
error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.

I am able to run the process successfully without webpacking..

On the latest version of everything and NativeScript 3.0.

Any ideas whats going on here?

Activity

  1. bnussey commented on May 20, 2017

    @bnussey
    Author

    Seems like am able to build from XCode without issues when not using the -- --release.

    On latest version of everything.

  2. spike1292 commented on May 20, 2017

    @spike1292

    Had the same problem yesterday also ran into provisioning & sass issues.
    Fixed it with switching to fastlane and swichting to cli next. I choose fastlane over tns appstore because appstore also uploads the ipa to iTunes connect and I didn't want that yet.

    rm -rf platforms
     # kickoff the sass compiler, didn't run with --bundle. 
    tns prepare ios
    # saw that the ns-bundle also cleans stuff so to be sure I added this
    rm -rf platforms
    tns prepare ios --bundle --provision "$PROVISION" --release
    npm run webpack --uglify -- --config=webpack.ios.js --progress
    
    # needed this for Jenkins, might help ;)
    currentDir=$(basename "$PWD")
    # this regex is bases on https://github.com/telerik/mobile-cli-lib/blob/17a506a820016c2ec961c7b0d56c6e0554539900/project-helper.ts#L53
    workspace=${currentDir//[^a-zA-Z0-9]/} 
    
    fastlane gym \
        --workspace "platforms/ios/$workspace.xcworkspace" \
        --scheme "$workspace" \
        --output_directory build \
        --output_name app.ipa \
        --export_method app-store \
        --include_bitcode false \
        --clean

    Note that we are using cli next. We needed the following fix NativeScript/nativescript-cli#2705 because are following https://codesigning.guide
    Our runtime & modules are still on 2.5 and we are using Angular 4, sass and nativescript webpack 0.4.2

    Hope this helps a little 😉

  3. bnussey commented on May 20, 2017

    @bnussey
    Author

    @spike1292 this is a huge help, thank you!

  4. bnussey commented on May 20, 2017

    @bnussey
    Author

    @spike1292 this was insanely helpful and allowed me submit my app, you are a legend!

  5. divyachandana commented on Aug 17, 2018

    @divyachandana

    Build Settings >> User-Defined >>Add >> PODS_ROOT equals ${SRCROOT}/Pods

    stack overflow pod error solution

    go85z

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions