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

Mailchimp SDK not integrating #39

Closed
denver91 opened this issue Jul 23, 2020 · 5 comments
Closed

Mailchimp SDK not integrating #39

denver91 opened this issue Jul 23, 2020 · 5 comments
Labels
question Further information is requested stale

Comments

@denver91
Copy link

Dear Mailchimp developers,

I am trying to integrate Mailchimp SDK to my social media app by installing with cocoapods but it returns an error.

problem

I tried it in a clean project and also in another Macbook. No luck. It returns the same error and cannot find the framework.
I also followed your guide to install it manually with XCFramework and still the same error.

To be sure it is not problem on my side, I tried many other new pods to check if they will fail... No, they all work fine.

I hope you can let me know what is the problem here.

@michael-patzer
Copy link
Collaborator

@denver91 Thanks for opening this issue. Can you provide me with more information to help me troubleshoot the issue?

  • What version of Xcode are you running?
  • What's your iOS Deployment Target? Deployment Info > Target > iOS version
  • Are you opening the .xcworkspace rather than the .xcodeproj?
  • Can you post the contents of your Podfile? Please redact any private information.

@michael-patzer michael-patzer added the question Further information is requested label Jul 24, 2020
@denver91
Copy link
Author

  • My deployment target is iOS 12. Xcode version is 11.5.
  • Yes I tried .xcworkspace
  • I tried on clean swift project as well as my own project. So there is only MailchimpSDK pod in my pod file. So it is not related to my podfile.
  • I did pod deintegrate but it did not work. As I told, I tried other new pods that I did not added before to see if it is my problem but it is not.

@michael-patzer
Copy link
Collaborator

Hi @denver91,

I'm not certain this will help, but I updated our Podspec to the latest (v1.0) on https://cocoapods.org/pods/MailchimpSDK

To test Cocoapods integration, I created a new blank Swift project on Xcode 11.6, with a deployment target of iOS 12. Here is my Podfile:

# Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'

target 'IntegrateMailchimpSDK' do
  # Comment the next line if you don't want to use dynamic frameworks
  use_frameworks!

  # Pods for IntegrateMailchimpSDK
  pod 'MailchimpSDK'

end

Installation was successful:

$ pod install
Analyzing dependencies
Downloading dependencies
Installing MailchimpSDK (1.0)
Generating Pods project
Integrating client project

[!] Please close any current Xcode sessions and use `IntegrateMailchimpSDK.xcworkspace` for this project from now on.
Pod installation complete! There is 1 dependency from the Podfile and 1 total pod installed.

Building was also successful:
Screen Shot 2020-07-28 at 2 31 30 PM

Can you let me know if running pod install --repo-update solves your issue? If not, could you upload a .zip of the clean Swift project you created that is causing the framework not found error above?

Sorry for the frustration. I'll do my best to help you troubleshoot. We appreciate you being an early adopter.

@github-actions
Copy link

This issue is being marked as stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

@viraj
Copy link

viraj commented Jan 19, 2021

Hi I had the same issue as @denver91

  • My deployment target is iOS 13. Xcode version is 12.0
  • #platform :ios, '13.0'

Tried @michael-patzer solution as well but no luck.
So I tried with SPM - Option 3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested stale
Projects
None yet
Development

No branches or pull requests

3 participants