Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pod install gives no pod spec found error on native swift template #106

Closed
ankitaporwal opened this issue Jan 17, 2018 · 2 comments
Closed

Comments

@ankitaporwal
Copy link

Hi @bhariharan,

Please find the below error when i run pod install in the native swift template Ankita-Porwal:iOSNativeSwiftTemplate ankita$ pod install
Analyzing dependencies
Pre-downloading: PromiseKit from https://github.com/mxcl/PromiseKit, tag 5.0.3
Fetching podspec for SalesforceAnalytics from mobile_sdk/SalesforceMobileSDK-iOS
[!] No podspec found for SalesforceAnalytics in mobile_sdk/SalesforceMobileSDK-iOS
Ankita-Porwal:iOSNativeSwiftTemplate ankita$

I need your help resolve this issue

Thanks,
AP

@bhariharan
Copy link
Contributor

bhariharan commented Jan 17, 2018

@ankitaporwal As I mentioned in the other post, please use forceios to generate an app. This will set up the dependencies correctly for consumption. In older versions of Mobile SDK, our libraries were under node_modules. We have changed this to mobile_sdk in recent versions. I suspect the missing folder is causing this issue. Using forceios@6.0.0 to generate an app should resolve this issue. Also, this forum is reserved for known issues/bug with our code. Please use our Google+ community for issues/discussions such as this.

@wmathurin
Copy link
Contributor

In your project's Podfile, add the SalesforceMobileSDK-iOS-Specs repo as a source. Make sure that you put this entry first, before the CocoaPods source path.

target 'YourAppName' do
source 'https://github.com/forcedotcom/SalesforceMobileSDK-iOS-Specs.git' # needs to be first 
source 'https://github.com/CocoaPods/Specs.git'

For more information see https://developer.salesforce.com/docs/atlas.en-us.mobile_sdk.meta/mobile_sdk/ios_cocoapods.htm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants