xcframework Questions

3

I am creating an SPM using the binary framework. I upload a zip file on the server and that link is used in SPM. let package = Package( name: "MyDemoPackage", platforms: [ .iOS(.v13) ], ...
Wellthoughtof asked 1/3, 2022 at 12:1

1

I am trying to generate a iOS XCFramework from an Xcode framework Project(Project name XCFramework). Project consists of some of the cocoa-pods libraries like Socket IO, SwiftKeyChainWrapper etc. I...
Mclaurin asked 8/3, 2020 at 9:10

1

I have a XCFramework with another XCFramework in it. And both of them contains dSYMs folder. When I try to xcodebuild the main framework I get an error: Missing path from XCFramework as defined by ...
Inkblot asked 9/3, 2023 at 15:12

0

I have develop a framework and I am able to generate documentation with DocC. When I include the .framework in the client app, I am able to see documentation when Option-Click on a method or proper...
Edrick asked 18/5, 2023 at 3:8

2

Solved

I am looking to create a closed source CocoaPod. From my research the recommendation seems to be to distribute it as an XCFramework. (source) It seems it should also be possible to make your framew...
Throwaway asked 11/10, 2021 at 17:38

2

Solved

I created my xcframework on my Desktop called MyXCFramework.xcframework then I zipped it like Boris said in WWDC2020 about Distribute binary frameworks as Swift packages both files are on Desktop a...
Acrylic asked 26/7, 2021 at 12:24

1

I'm following the guide here to try and use an iOS framework without CocoaPods in a new KMM project: https://kotlinlang.org/docs/kmm-add-dependencies.html#without-cocoapods I have an existing, work...

1

Solved

I'm building MediaPipe based face recognition lib using Bazel, I'm using apple_xcframework bazel rule. This creates a dynamic xcframework, which I then share to other devs who add it to their XCode...
Carrefour asked 11/10, 2022 at 11:20

1

I want to be able to take an internal SPM package, which depends on several other internal (and one external) SPM packages, and compile it into an XCFramework, using a series of xcodebuild like you...
Darlleen asked 17/5, 2022 at 15:8

3

While creating XCFramework, I'm getting the below-mentioned message on the terminal and xcframework is not getting generated A library with the identifier "ios-armv7_arm64" already exists...
Mechanist asked 26/8, 2020 at 7:10

1

Solved

I want to create a Swift Package with binary targets which has sub dependencies. As the binary targets not support sub dependencies out of the box, I have created a wrapper target that depends on b...
Ortensia asked 11/4, 2022 at 8:40

4

Solved

When creating an xcframework like this xcodebuild archive -project endiosOne-iOS.xcodeproj -scheme EOFoundation -destination="iOS" -archivePath /tmp/xcf/ios.xcarchive -derivedDataPath /t...
Saccharoid asked 7/12, 2020 at 11:55

2

I am unable to archive the ipa when selecting "Rebuild from bitcode" export option, getting the following error ipatool failed with an exception: #<CmdSpec::NonZeroExitException: $ /Application...
Beneficence asked 11/3, 2020 at 13:41

1

I've got a static library, compiled for multiple architectures, included in a XCFramework. It looks like this : | framework_1.xcframework |---- _CodeSignature |---- Info.plist |---- ios-arm64_a...
Mf asked 3/11, 2021 at 10:43

2

Solved

I am building an .xcframework which contains an iphonesimulator and iphoneos frameworks. There is some Swift code, and some C++ code, which is linked into a shared object (Mach-O 64-bit dynamically...
Neumeyer asked 5/9, 2021 at 19:44

2

Solved

I am using a custom framework created using 3 different cocoapods. I am using this custom framework in a client app by dropping the xc framework created. As soon as the client app launches it crash...

3

Solved

Our goal is to create a framework that hides our internal code and provide SDK to our customers. We have thought of creating XCFramework which fulfills our requirement. Umbrella framework is also s...
Ventriloquize asked 2/11, 2020 at 12:29

1

I have created .xcframework and trying to use in another app by embedding the .xcframework in xcode project, but I am getting an error "error: the use of xcframeworks is not supported in the legacy...
Heartthrob asked 19/1, 2020 at 12:44

0

My project uses third-party xcframeworks but one of the xcframework does not support simulator which leads to building fail. Is there any way to exclude that particular xcframework from simulator b...
Daloris asked 8/6, 2021 at 4:34

1

Solved

Consider OpenSSL, the project itself has two products: libssl.a and libcrypto.a. For the sake of simplicity, let's use the precompiled libraries stored in this repository and consider just iphonesi...
Junco asked 7/6, 2021 at 19:16

1

Edit (2020/09/14): This appears to have been an Xcode bug that has now been fixed as of Xcode 12 beta 6. I am using Xcode 12 to build a static library, and for tvOS, Xcode 12 includes both arm64 ...
Pomegranate asked 17/8, 2020 at 19:47

1

Environment MacBook Pro (13-inch, 2017, Two Thunderbolt 3 ports) Big sur 11.3.1 Xcode 12.5 Apple Swift version 5.4 (swiftlang-1205.0.26.9 clang-1205.0.19.55) Target: x86_64-apple-darwin20.4.0 Pro...
Phyto asked 28/5, 2021 at 20:48

2

Solved

I created a React Native library that is a wrapper for using the native iOS framework in the React Native Projects. Earlier I was using .framework & it was working fine. Now I am facing an issu...
Cameroncameroon asked 21/3, 2021 at 8:23

1

Solved

I have created a framework with few cocoapod dependencies .The archive for the framework is failing when i do 'xcodebuild archive' after adding the pod files (Did pod install). In the normal build,...
Ataliah asked 4/3, 2021 at 7:52

1

Currently I am working in a framework project to distribute to a client we have. The Framework has SPM dependencies and I wanted to create an XCFramework from it. I found the scripts to archive and...
Lecialecithin asked 8/1, 2021 at 17:13

© 2022 - 2024 — McMap. All rights reserved.