GithubHelp home page GithubHelp logo

Comments (6)

khawkins avatar khawkins commented on June 10, 2024

Try a git clean -fdx from the root of the repo directory, then try running ./install.sh again. It's possible you have some stale dependencies that are incompatible with the iOS 6 libraries.

from salesforcemobilesdk-ios.

khawkins avatar khawkins commented on June 10, 2024

Additionally, you may want to capture the output of your install to a text file, so you can look backwards from the first failure and see what the ultimate error message/area is. ./install.sh > install_out.txt 2>&1

from salesforcemobilesdk-ios.

jezza83 avatar jezza83 commented on June 10, 2024

I am experiencing the same issue / error message using XCode Version 4.5.1 (4G1004);

BUILD FAILED
/Users/Jeremy/Desktop/forcedotcom-SalesforceMobileSDK-iOS-d28a7a0/shared/build.xml:344: The following error occurred while executing this line:
/Users/Jeremy/Desktop/forcedotcom-SalesforceMobileSDK-iOS-d28a7a0/shared/build.xml:352: The following error occurred while executing this line:
/Users/Jeremy/Desktop/forcedotcom-SalesforceMobileSDK-iOS-d28a7a0/hybrid/SalesforceHybridSDK/sfdc_build/build.xml:40: The following error occurred while executing this line:
/Users/Jeremy/Desktop/forcedotcom-SalesforceMobileSDK-iOS-d28a7a0/hybrid/SalesforceHybridSDK/sfdc_build/build.xml:209: The following error occurred while executing this line:
/Users/Jeremy/Desktop/forcedotcom-SalesforceMobileSDK-iOS-d28a7a0/hybrid/SalesforceHybridSDK/sfdc_build/build.xml:153: The following error occurred while executing this line:
/Users/Jeremy/Desktop/forcedotcom-SalesforceMobileSDK-iOS-d28a7a0/shared/build.xml:132: exec returned: 65

Really appreciate any assistance resolving this issue.

from salesforcemobilesdk-ios.

khawkins avatar khawkins commented on June 10, 2024

I would still recommend the instructions above. Namely, first try doing a git clean -fdx from the root of your repository, followed by an ./install.sh > install_out.txt 2>&1. Then open the resultant build output file and check for the root cause of the failure. This is usually accomplished by searching for the first instance of the word 'fail', from the top of the file.

The lines after the 'BUILD FAILED' message invariably do not present a very granular explanation for why a build fails. They're just reporting the 'stack trace' of ant build target failures. In this case, you can trace the line numbers and see that the SalesforceHybridSDK failed to build at its compile stage, but it doesn't tell you anything further about why it would have failed. That information will be present in the actual compilation steps that happen prior to this message.

from salesforcemobilesdk-ios.

jezza83 avatar jezza83 commented on June 10, 2024

Hi Kevin, thanks I did the ./install.sh > install_out.txt 2>&1 and traced the issue back to the initial error "fatal: not a git repository". After recreating the repository again it worked fine. Thanks again!

from salesforcemobilesdk-ios.

khawkins avatar khawkins commented on June 10, 2024

Glad it worked out!

from salesforcemobilesdk-ios.

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.