All Questions
57 questions
0
votes
0
answers
23
views
Pods Installing in Kony Symbol not found:
when I am to install XYZ framework form cocoa pods in iOS native projects it's working fine but when I am trying to install same XYZ framework in Kony Using cocoa pods it's giving runtime erorr:
dyld[...
1
vote
1
answer
4k
views
How to include a local framework in Podspec
I'm creating a Podspec file and need to include two frameworks which I downloaded - one for the Simulator and another for arm64.
I checked https://guides.cocoapods.org/syntax/podspec.html#...
0
votes
1
answer
341
views
iOS: Runtime error when testing custom Framework with 3rd-party CocoaPod dependency (ARCore)
Our (mostly Android-backgrounded:)) team is developing partner iOS Swift Framework (SDK) with some 3rd-party dependencies inside.
Framework itself has several 3rd-party dependencies all embedded with ...
0
votes
0
answers
100
views
Is there a specific way of using pods or IBDesignables in iOS Frameworks?
I am working on a framework project. I have added a custom view using IBDesignable in the framework (present within the framework under the same target). I am using the 'TinyConstraints' pod for ...
0
votes
0
answers
27
views
Problem with properly using/building IOS Framework
I'm building my own IOS framework for some purpose, and later created a cocoapod cocoapod link as well.
When I'm using this inside a project, I was able to build the project perfectly but when I try ...
7
votes
2
answers
5k
views
#if canImport() does not find frameworks with CocoaPods
Hello here is our Podspec which has a default_subspec and an optional subspec (which won't be taken since the default is already set). That subspec has more features, but takes an additional 8MB of ...
1
vote
1
answer
515
views
#if canImport() not working properly with CocoaPods. Serious issue
we are experiencing really strange issue, which creates problems in our production code. Basically, we have created a framework, which has few separates optional frameworks. Right now, we access code ...
17
votes
2
answers
6k
views
How to import external iOS framework in flutter plugin?
I'm doing a flutter plugin for stream video by using RTSP protocol. I had no problem develop it for Android, but in iOS things are more complex. I have to use an external library (SGPlayer) for ...
2
votes
1
answer
2k
views
Problem building ios framework with subspec for cocoapods
This is my SDK's podspec:
#
# Be sure to run `pod spec lint Core.podspec' to ensure this is a
# valid spec and to remove all comments including this before submitting the spec.
#
# To learn more ...
0
votes
1
answer
2k
views
How to embedded Images and use those Images when creating custom cocoapod in iOS, swift 4
WHAT I DID.
I'm creating my own cocoapod Library. inside my library there are two directories Classes and Assets. I put all my .swift files into Classess directory and I can access those classes ...
1
vote
1
answer
568
views
Importing Framework that uses Firebase in Swift Playground ("Missing required module 'Firebase'")
My iOS app "FooApp.xcodeproj" uses a framework named "FooFramework.xcodeproj". Both the app and the framework are located inside a single workspace ("FooWorkspace.xcworkspace"). They both also use ...
0
votes
1
answer
58
views
xcode how to develop with frameworks
Thanks for spending time reading my question.
I've been working as an iOS developer for more than 2 years and today I still feel shame because I don't know how to deal with frameworks. I've build ...
4
votes
0
answers
702
views
Unit test: Program ended with exit code: 82 App consist from modules
My app consists from modules(frameworks) and i use pods for add third party framework. In pod file i add dependency for some lib only for target that will be use this framework. Example: i have "...
0
votes
0
answers
260
views
ios : Custom framework with multiple target pod integration issue
We have developed a Custom framework in iOS which has multiple targets. Each target gives a different (Example SDK1,SDK2,SDK3) SDK. We have also uploaded the same on Github with below podspec.
Pod::...
0
votes
0
answers
128
views
How Could i refer an objective c file part of a pod inside a Swift CocoaPods Project?
I have created a CocoaPods Project with 'pod lib create 'someProject'' command. The File structure of which is following.
The "Development Pods contains Assets and classes that i want to host on ...
3
votes
0
answers
471
views
Share dependencies across frameworks with CocoaPods without duplicating classes' definitions
I currently have 2 deployable frameworks. Same app, two faces: Client and Vendor.
Most of the data-model classes and some views are completely identical. So I've created another framework named "...
4
votes
0
answers
161
views
unable to add "GooglePlacePicker" on swift framework of cocoapod
I have written custom framework in swift and I want to use "GooglePlacePicker" as an dependency on cocoapods spec of that framework.
Below is the podsspec of the development pod.
Pod::Spec.new do |...
1
vote
1
answer
267
views
How to add Google Analytics to Cocoa Touch Framework for iOS devices
I have created a framework which provides data from our APIs to our clients who use it. I want to use Google Analytics in this framework.
But I am not able to figure out how to do it, there's no ...
0
votes
1
answer
901
views
Use 3rd party pod in sub-project (framework project)
I am using XCode 8 + Swift 3.
I created a fresh iOS project named "MyApp".
Then, I create a Cocoa touch framework project, named "MySubProject".
(The idea is to have MyApp project accessing ...
5
votes
5
answers
3k
views
Including a pod inside a framework target: file not found
I'm using framework targets (for better code reuse and IB_Designables), and I've already had a framework target working perfectly. I've decided to move some other classes to a framework target too.
I'...
2
votes
2
answers
4k
views
podspec with dependency to another ios framework project
I had developed a swift farmework to share with other developers(Lets name it B). This framework is using another ios framework project that I created recently with objective-c (lets name it A).
Now,...
1
vote
3
answers
400
views
CocoaPods - A custom dynamic framework - cannot get the latest version of frameworks
My project in Xcode consist of static frameworks and one custom dynamic framework. This dynamic framework includes some other static frameworks.
When I try to compile the custom dynamic framework ...
3
votes
1
answer
2k
views
How to share parent(host) project pod with framework project swift?
i am developing Framework, i have added this framework project into host project. now i want to add cocoapods pod(framework) into parent(host) project. and share same pod into child(framework) project....
2
votes
0
answers
265
views
How to run pod lib lint to run xcodebuild for device only
The following is the error I get while executing "pod lib lint --use-libraries --verbose".
The following build commands failed:
Ld /Users/Adi/Library/Developer/Xcode/DerivedData/App-...
4
votes
1
answer
1k
views
Distribute compiled .framework with cocoapods
I'm working on an iOS app with my team and I would like to move a chunk of code in a precompiled framework in order to reduce compile time. I created a framework with the source files, uploaded it on ...
0
votes
1
answer
1k
views
Link Custom Framework against CocoaPod (statically)
I have a podfile as follows:
platform :ios, '9.0'
#use_frameworks!
inhibit_all_warnings!
workspace 'MyWorkspace.xcworkspace'
project 'MyServices/MyServices.xcodeproj'
target 'MyServices' do
pod '...
11
votes
2
answers
11k
views
Using local copy of a framework in podfile if exists
I have a framework and a project where I'm using my framework in. I'm trying to use the framework that is locally built during development. Is there a way to do something like:
if my-local-library-...
0
votes
1
answer
687
views
launching app or opening link in safari from ios framework
I am developing an ios framework (which can be installed using cocoapods). When a method of this framework is called, it will open a url on safari. If some other app is able to handle that url using ...
5
votes
1
answer
387
views
Include public headers of static library in a dynamic framework
I'm developing a dynamic framework for iOS. This framework uses a static library, which is integrated with CocoaPods:
+--MyDynamicFramework
+--PublicHeader1.h
+--PublicHeader2.h
+--Sources
...
6
votes
0
answers
346
views
How to build a framework containing cocoapods dependency in iOS?
I am creating a framework for third party apps. I am using Google VR SDK for iOS (which is a CocoaPods dependency) inside my static library project to build. The static library compiles fine, but I ...
2
votes
0
answers
523
views
How to distribute iOS swift framework without the source code using pods?
I have been trying to create a git repo with my framework and trying to distribute it using pods. I have written a podspec which downloads all the dependencies as well as my framework. The pod ...
0
votes
0
answers
93
views
Including Swift framework which uses cocoapods
I'm building a swift Framework (SharedFramework) to include it later in my iOS project.
Now my swift framework needs to use cocoapods to include libraries like SwiftyJSON. So I did a pod init added ...
2
votes
0
answers
1k
views
dyld: Library not loaded when embedding a custom framework binary that uses Cocoapods
I have a Swift dynamic framework target in the app for all the Networking Code. Lets call it CustomNetworking.Framework. There are other frameworks linked to this target with cocoa pods.
target '...
2
votes
1
answer
806
views
Using Realm in a dynamic framework?
I’m going to port my iOS app to OS X (and perhaps tvOS after that). It uses the wonderful Realm for persistence. I’m currently in the process of breaking out the data model in my application into a ...
1
vote
0
answers
210
views
Framework (Appirater or Armchair) not localized with swift2
So I just started a new swift2 project. To remind the user to rate the app I added Armchair to my Podfile with
pod 'Armchair', '~> 0.1.1'
No problem there so far, it can be used fine.
Apart from ...
1
vote
1
answer
297
views
Building a custom iOS framework that uses external frameworks
I am building a custom framework in iOS which uses AFNetworking, imported through CocoaPods.
If I just build my target for a single architecture all goes well. However, I am using an shell script to ...
19
votes
2
answers
20k
views
Error ITMS-90206 Invalid bundle contains disallowed file 'Frameworks'
I have a problem uploading my application into the Store via Xcode, this one in particular.
I saw a lot of post about this error, but all are talking about Extension App, that I do not use.
I'm ...
4
votes
1
answer
377
views
Include of non-modular header inside framework error - how do you make transitive dependencies work with cocoapods?
I have created an open source library (https://github.com/linkedin/LayoutTest-iOS) which has two Cocoapods inside - LayoutTest and LayoutTestBase. LayoutTest depends on LayoutTestBase and one of the ....
7
votes
5
answers
3k
views
Why is my CocoaPod not downloading the source from the specified URL?
I have a zipped up iOS framework which I am trying to use via CocoaPods in a test application. I have added it in my github under releases. My podspec currently looks like :
Pod::Spec.new do |spec|
...
3
votes
0
answers
378
views
How do you stop CocoaPods from linking against a dependency for a framework?
Say I've developed a framework which contains a binary which uses OCMock with all the dependencies that I need. Now when I create a Podspec for it and try to use it, I find that I need to have OCMock ...
3
votes
1
answer
3k
views
dyld: Library not loaded: @rpath/FMDB.framework/FMDB
I am using Xcode 7.2 and swift 2. Deployment target is ios 9.0
The question is similar to many previous questions being asked, but my issue is not common or did not find any reference to any of them.
...
11
votes
1
answer
6k
views
Trying to wrap vendor framework in cocoapod but the compiler can't find headers
Hoping somebody has already solved this; I'm trying to wrap a third-party library (Airwatch) in a cocoapod for better management across our apps. I'm having a hell of a time trying to get this to ...
9
votes
2
answers
4k
views
pod spec lint fails when pod lib lint succeeds. 'vendored_frameworks' pattern did not match any file
I made an framework for which I'd like to distribute via CocoaPods.
I'm not sure if I'm doing something stupid. I've included a completed .framework folder in the base directory and I'd like that to ...
0
votes
1
answer
92
views
Using native framework with Cocoapods
What is the best way to add one of Apple's native frameworks, (e.g. Quick Look Framework) to a Cocoapods managed Xcode project/workspace?
Note that I want to link to that framework directly, and not ...
3
votes
1
answer
3k
views
Code signing an app built with fastlane and CocoaPods built as dynamic frameworks
I have a fairly normal fastlane and CocoaPods setup but have problems with code signing since fastlane tries to uses the app's provisioning profile to sign each CocoaPod. It fails with this error:
[...
42
votes
5
answers
51k
views
Pod Error in Xcode "Id: framework not found Pods"
I am trying to clone a project from a bitbucket repository and am getting an error Id: framework not found Pods clang: error: linker command failed with exit code 1 (use -v to see invocation) when ...
0
votes
1
answer
355
views
Objective C - Error duplicate symbols - How can I add twice frameworks of google ADS?
I have a problem, I need to add two different frameworks of Google ADS.
'Google-Mobile-Ads-SDK', '~> 7.0' - I used it for Banners in DFP
@import GoogleMobileAds;
'GoogleAds-IMA-iOS-SDK', '~> 3.0....
2
votes
1
answer
649
views
iOS8 framework library linking WITHOUT Pods
Imagine the following scenario;
I'm developing a cocoa touch framework that requires SomeLibrary (e.g. AFNetworking). My framework is going to be included into someone's project that might require ...
0
votes
1
answer
785
views
Creating an iOS8 Framework dependent on external library
I am creating an iOS8 Cocoa Touch Framework that is internally dependent on AFNetworking. I don't want to compile AFNetworking into my framework and let the user of the framework provide AFNetworking. ...
1
vote
0
answers
119
views
Using same cocoapod across framework and app iOS
I created a custom framework that uses AFNetworking Pods. The framework works fine on my application. But, when I try to include the same pod to application project, I see the following debug message ...