GithubHelp home page GithubHelp logo

Comments (9)

Wenzhi avatar Wenzhi commented on September 7, 2024

Hi Ryan,

Thank you for reporting the issue! I can reproduce the issue and the problem is that our podspec doesn't support use_framworks! right now.

I can provide the content of an updated podspec file. You just need to create a Appboy-iOS-SDK.podspec file with the content, and use that podspec in your Podfile with pod 'Appboy-iOS-SDK', :podspec => '/You_Appboy_Podspec_Path/Appboy-iOS-SDK.podspec'. The support will also be added in our next release.

Here is the new podspec:

Pod::Spec.new do |s|
  s.name         = "Appboy-iOS-SDK"
  s.version      = "2.11.3"
  s.summary      = "This is the Appboy iOS SDK for Mobile Marketing Automation"
  s.homepage     = "http://www.appboy.com"
  s.license      = { :type => 'Commercial', :text => 'Please refer to https://github.com/Appboy/appboy-ios-sdk/blob/master/LICENSE'}
  s.author       = { "Appboy" => "http://www.appboy.com" }
  s.source       = { :git => 'https://github.com/Appboy/appboy-ios-sdk.git', :tag => s.version.to_s}
  s.platform = :ios
  s.ios.deployment_target = '6.0'
  s.requires_arc = false
  s.documentation_url = 'http://documentation.appboy.com/'
  s.frameworks = 'SystemConfiguration', 'QuartzCore', 'CoreImage', 'CoreText'
  s.weak_framework = 'CoreTelephony', 'Social', 'Accounts', 'AdSupport', 'StoreKit'
  s.source_files = 'AppboyKit/headers/AppboyKitLibrary/*.h', 'AppboyKit/*.m'
  s.exclude_files = 'AppboyKit/**/*.txt'
  s.resource = 'AppboyKit/Appboy.bundle'
  s.preserve_paths = 'AppboyKit/**/*.*'
  s.vendored_libraries = 'AppboyKit/libAppboyKitLibrary.a'
  s.dependency 'SDWebImage', '~>3.7.0'
end

We’ll update with information regarding the timeline of the next release when it becomes available, but it should be sometime in the near future.

Please let me know if it doesn't work for you, or you have any other questions.

from appboy-ios-sdk.

ryanfitz avatar ryanfitz commented on September 7, 2024

thanks @Wenzhi I created a fork with the podspec updates and everything is working.

from appboy-ios-sdk.

ryanfitz avatar ryanfitz commented on September 7, 2024

Im running into a runtime error when attempting to load up the feedback view controller.

2015-06-09 11:12:04.943 cinch[82294:8637474] [APPBOY] Couldn't find /Appboy.bundle/ or /ABKFramework2.framework/
2015-06-09 11:12:04.944 cinch[82294:8637474] [APPBOY] Found at /private/var/mobile/Containers/Bundle/Application/576C75DA-FCE9-49D2-8367-14B5CC8C5B9B/cinch.app
2015-06-09 11:12:04.949 cinch[82294:8637474] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Could not load NIB in bundle: 'NSBundle </private/var/mobile/Containers/Bundle/Application/576C75DA-FCE9-49D2-8367-14B5CC8C5B9B/cinch.app> (loaded)' with name 'ABKFeedbackContentView''

Seems like a framework isn't getting properly setup with the current podspec

from appboy-ios-sdk.

Wenzhi avatar Wenzhi commented on September 7, 2024

Hi Ryan,

It seems that by using use_framework!, Cocoapods not only converts our SDK from a library to a framework, but also changes the path of the bundle. It requires an SDK update to fix the issue.

If you have to use the use_framework!, I would suggest you to do a manual integration for now. We’ll update this issue with the release timeline when it becomes available, which we expect to be early next week.

from appboy-ios-sdk.

cliftonr avatar cliftonr commented on September 7, 2024

Hi @Wenzhi - any word on this issue?

from appboy-ios-sdk.

briancaw avatar briancaw commented on September 7, 2024

Hi @Clifton-Roberts

We're investigating the runtime path error today and we'll update before the end of day (EST) with information regarding our plans/timeline for fixing (which I suspect should be tomorrow, barring complications).

Thanks,
Brian

from appboy-ios-sdk.

Wenzhi avatar Wenzhi commented on September 7, 2024

Hi @ryanfitz and @Clifton-Roberts

We just released Appboy SDK version 2.12.0 with the fix of this issue. Now the SDK supports dynamic framework and swift apps. Please let us know if you have any other issues :)

from appboy-ios-sdk.

ryanfitz avatar ryanfitz commented on September 7, 2024

Thanks @Wenzhi! I updated my app and its working great

from appboy-ios-sdk.

cliftonr avatar cliftonr commented on September 7, 2024

@Wenzhi Perfect! Thanks for addressing this.

from appboy-ios-sdk.

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.