Questions tagged [dynamic-frameworks]
15 questions
12
votes
2 answers
How to export Flutter project as SDK (iOS dynamic framework)
We have built an awesome Flutter project, which has great functionality we want to export as a framework, just like native libraries do, so that the source code is hidden (convert to dynamic framework).
We have followed the instructions:…

Almas Adilbek
- 4,371
- 10
- 58
- 97
8
votes
1 answer
Does iOS lost most of the advantage of using dynamic frameworks?
Does iOS lost most of the advantage of using dynamic frameworks?
Since iOS will copy all the dynamic frameworks needed into the app bundle, it doesn't share dynamic frameworks between apps and save memory. Except for sharing memory with the main…

allenlinli
- 2,066
- 3
- 27
- 49
8
votes
2 answers
Does iOS load all the system dynamic framework into memory when an app launches?
Based on what I study, iOS uses most(all) of system frameworks as dynamic frameworks. Does iOS load all of them when an app launches? Or iOS may load it later when iOS actually need the framework?
The advantage of loading it when an app…

allenlinli
- 2,066
- 3
- 27
- 49
4
votes
2 answers
Target Integrity Issue: "Building for iOS, but the embedded framework 'X.framework' was built for iOS Simulator"
Our organization distributes iOS pre-compiled dynamic frameworks using the method which we understood to be previously canonical prior to Xcode 11.4. It involved building two pre-compiled frameworks, one for device and one for simulator, and then…

John Bushnell
- 1,851
- 22
- 29
3
votes
0 answers
Dynamic Swift Framework: Fatal error: unable to find bundle
I have a framework that imports several Swift Packages.
One such package uses Bundle.myModule for resources. Here is the code use for .myModule
extension Foundation.Bundle {
static var myModule: Bundle = {
let bundleNameIOS = "xxxx"
let…

Malcolmn Roberts
- 354
- 3
- 11
3
votes
1 answer
Why should I create Dynamic frameworks for iOS Project?
I have main application target. And I'm moving some code into frameworks to reduce compile time of the huge project.
Default framework type is Dynamic (BuildSettings -> Mach-O Type). I understand benefits of using Apple's dynamic frameworks as…

Paul T.
- 4,938
- 7
- 45
- 93
3
votes
1 answer
Build phase script is running before needed files are created in Xcode 10
https://github.com/realm/realm-cocoa/blob/master/scripts/strip-frameworks.sh
We are always using this script to remove architectures for dynamic frameworks. It has worked with Xcode 9.
In Xcode 10, it didn't remove the architectures.
Anything in…

Ted
- 22,696
- 11
- 95
- 109
2
votes
0 answers
iOS - Objective C dynamic framework emit bitcode for arch x86_64 (simulator)
Have setup a sample on Github, I'm using Xcode v 9.4.1
https://github.com/iousin/TreeFramework
Basically I'm trying to build my framework to include bitcode in the x86_64 simulator build. I tried various settings and tried building on command line,…

Rasin Rdj
- 21
- 4
1
vote
0 answers
pushdown predicate: can not be resolved against partition columns: []
An error occurred while calling o91.getDynamicFrame. User's pushdown predicate: column1='country-code' can not be resolved against partition columns: []
I am getting above error while trying to create a push_down_predicate for parquet file
I tried…

Ajithkumar
- 11
- 1
1
vote
1 answer
load failed with error Error Domain=NSURLErrorDomain Code=-999 "cancelled"
I am getting this
"load failed with error Error Domain=NSURLErrorDomain Code=-999 "cancelled""
when trying to call the api in my custom framework. but when I run the same code in another project, it works fine and give the proper response. below…

anirudh
- 49
- 1
- 5
1
vote
2 answers
Creating a fat framework with an objective c framework dependency
I am working with Swift 4.2 and Xcode 10.1. I am trying to build a framework in Swift that depends on Alamofire which is written in Objective C. I added the Alamofire.xcodeproj manually as given in the README by Alamofire. The individual target…

sandpat
- 1,478
- 12
- 30
0
votes
0 answers
Remove trailing zeros in glue dynamic frame created from S3 object
I have written a glue code, which reads data from S3 bucket and load into Redshift. This code is generic, so that it can read all the files from S3 in loop and load all of them in the redshift.
However in some files, I have numeric fields, but when…

Kunal Sharma
- 107
- 1
- 13
0
votes
1 answer
iOS app is crashing after kill and relauch using Adobe xcframeworks
I have added adobe AEPCore.xcframework in my application and kept it as "Do not embed" in framework setting.
Screenshot:
When i kill and relaunch the application, It got crashed with following logs.
dyld: Library not loaded:…

Ritu pal
- 306
- 2
- 11
0
votes
0 answers
Weak Link a third party framework in another framework
So here is the scenario. I have two Cocoa Touch frameworks lets call it Framework_A and Framework_B and have respective Cocoa Pods for them Pod_A and Pod_B.
Now I want Framework_A to weakly link to Framework_B i.e, If Framework_B is present in the…

Chengappa C D
- 1,841
- 1
- 12
- 19
0
votes
1 answer
write dynamic frame on s3 with xml format
captionI want to write my dynamicframe on s3 with xml format . I want to get one xml file of my df.
I TRIED THESES lines but got different parts of xml files .
Who can help me to fix this problem please???
datasink4 =…

ceo
- 31
- 1
- 2
- 7