Giter Club home page Giter Club logo

Comments (4)

Justin-Credible avatar Justin-Credible commented on June 3, 2024

Can you provide steps to reproduce?

from fabricplugin.

dparne avatar dparne commented on June 3, 2024

I have these steps in my script (I am using circle ci) and I ran same steps locally.

dependencies:
  pre:
    - brew uninstall xctool && brew install --HEAD xctool
    - brew install node
    - npm install
    - npm install -g ionic
    - npm install -g cordova
    - npm install -g gulp
    - gulp
    - ionic hooks add
    - cordova plugin add cordova-fabric-plugin --variable FABRIC_API_KEY=$MY_KEY --variable FABRIC_API_SECRET=$MY_SECRET
    - ionic platform rm ios
    - ionic platform add ios

and this results in this run script in Xcode

screen shot 2016-03-11 at 5 42 16 pm

Where as in the file system I see this
screen shot 2016-03-11 at 5 44 25 pm

you can notice that lib/ios folders are not there

from fabricplugin.

Justin-Credible avatar Justin-Credible commented on June 3, 2024

If that Finder screenshot is of platforms/ios/your-app/Plugins, then it looks correct. The script itself is referencing files outside of the XCode project. The path ../../plugins/com.sarriaroman.fabric/lib/ios/Crashlytics.framework/run is pointing two directories up from the XCode project root. So this is <cordova-root>/plugins which does contain the lib/ios/ path.

You can verify this by changing the path in the build script to something invalid and XCode build will fail.

What error message are you receiving?

from fabricplugin.

dparne avatar dparne commented on June 3, 2024

Hi @Justin-Credible. I found the root cause now. Thanks for the explanation.

I was running this command in the root folder instead of ios folder.

xctool CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= PROVISIONING_PROFILE= -sdk iphoneos9.2 -project ./platforms/ios/MyProject.xcodeproj -scheme "MyProject" clean build

Since I was in the root folder, the shell script was looking further outside of the root folder and not finding the plugin.

from fabricplugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.