Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
18 views

How can I create a shared framework with resources?

I am optimizing my app size and encountered a problem with spm: how can I create a shared(between main app executable and app's extensions) frameworks with its own resources? I created a simple ...
Maksim Zenkov's user avatar
0 votes
0 answers
13 views

React-native as iOS static framework - fails to find exposed classes in hosting iOS project

I have a react-native project that I need to export as static framework, which needs to be embedded into native iOS project. After a lot of troubles I was able to build the target for framework and ...
Async-'s user avatar
  • 3,289
0 votes
0 answers
125 views

Failed to lookup symbol 'TfLiteInterpreterOptionsCreate': dlsym(RTLD_DEFAULT, TfLiteInterpreterOptionsCreate): symbol not found

I reported an error while exporting tflite_flutter as framework through the flutter module to the iOS native project. environment: flutter 3.7.0,xcode 14 dependencies: tflite_flutter 0.10.4 Unhandled ...
Ray Gu's user avatar
  • 1
1 vote
1 answer
157 views

Unable to compile iOS Framework with OpenCV - getting error "Expected identifier"

I am creating a iOS native framework for my React Native App. I am using OpenCV capabilities and other core modules to get certain results. I am getting below error when trying to run the code: Below ...
Rocky Balboa's user avatar
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[...
Happy Parmar's user avatar
1 vote
1 answer
472 views

Kotlin multi platform project can't find iOS Framework

I'm following the documentation for adding a iOS framework without cocoapods to a KMM project, And I'm getting this error when syncing the gradle, and of course is not integrating the framework, the ...
LuisMa's user avatar
  • 41
0 votes
0 answers
381 views

iOS framework build error - Build input file cannot be found

I'm getting this error while building my iOS framework: Build input file cannot be found: '/Users/######/Movahed/Plankton/IOS/plankton/DerivedData/plankton/Build/Products/Debug-iphonesimulator/...
Ali Mohammad Movahedian's user avatar
0 votes
0 answers
44 views

What is the proper way of distributing a closed source framework that depends on other frameworks/libraries on iOS?

I have a closed source framework that depends on other open source project, for sake of discussion let's say Alamofire. At the moment I am creating a dynamic framework for the closed source code and ...
Rui Rodrigues's user avatar
0 votes
0 answers
40 views

how to declare IntPtr in iOS Binding project on Xamarin

I'm trying to connect iOS Framework to Xamarin. (I've never experienced Xamarin.) so I did succeed to bind iOS Framework. also I declare the protocol DownloadDelegate when I bind my framework, ...
ticitak's user avatar
0 votes
0 answers
89 views

Xcode project does not recognise changes in custom framework

I have created two projects in Xcode: Framework. It just has one public class and one public method Xcode project. I have drag and dropped my framework into project. After that, framework was ...
stackich's user avatar
  • 5,127
-1 votes
1 answer
146 views

Missing assets in binary framework

I'm fairly new to working with binary frameworks. I'm finding that assets are not being included in the binary framework even after including them in Copy Bundle Resources. I've been looking at the ...
Robert's user avatar
  • 1,168
2 votes
0 answers
455 views

unsupported Swift architecture in Objective-C

I've been working with a static library in iOS written in Swift. Below is the script I've been using to build the library into a fat framework (universal). # Type a script or drag a script file from ...
Dhanaseelan V's user avatar
1 vote
0 answers
119 views

Flutter Plugin project could not find C++ libraries

TL;DR; Flutter Plugin project which uses .framework as iOS library, could not locate some of cpp libraries such as <list> I am working on a Flutter Application which contains platform native ...
top's user avatar
  • 11
4 votes
1 answer
1k views

Why does Apple discourage the use of '@import' in framework headers?

I have a framework target which contains a mixture of Objective-C and Swift source files. I just upgraded my project's build settings to the settings recommended by Xcode 14.3.1. One of the changes ...
Adil Hussain's user avatar
  • 31.9k
0 votes
2 answers
213 views

How to Manually Import Firebase Frameworks on Xcode 13.4

I've been trying to import updated libraries to my Xcode Project. I have dowloaded the libraries from the official firebase site. I had multiple options but the developer of my App used manually ...
DMarMon's user avatar
3 votes
1 answer
245 views

Creating iOS framework with Objective-C

I have some trouble creating a framework for iOS. I created a new project (called Logger) and selected the Framework option. Then, Xcode created the folder structure and it had a few files including ...
Keselme's user avatar
  • 4,229
0 votes
1 answer
3k views

Building for iOS Simulator but linking object file built for iOS error

I have a macbook Air M1 and i cloned my project and tried to run that then got this, how could i fix this? Showing Recent Issues In /Users/xxxxxxxx/Desktop/apps/iOS/newC/xxxxxxxx_xxxxxx/xxxx.xxxxxxx....
Prabodha Lakruwan's user avatar
1 vote
0 answers
122 views

In Xcode, create framework as target in same project as app vs separate project for framework

Main question Here is my scenario: I have app A in Xcode project X. I will create framework F to use in app A. I could create framework F inside project X as another target. I could also create a new ...
Jeff's user avatar
  • 4,111
0 votes
1 answer
110 views

How to embed sub-project frameworks through cli?

I'm working with Qt which generates its own XCode project to make an iOS app. For this app I want to include a cocoapod dependency (Sentry). But I can't figure out how to add the sub-project ...
cj-'s user avatar
  • 322
1 vote
0 answers
41 views

Defined a protocol in a Framework, but its not accessible from the different project

I have created a protocol inside a framework, Following is my code for Framework. public protocol CodairaProtocols{ func onOTPGenerated() func onResendOTP() func onVerifyOTP() } ...
dev90's user avatar
  • 7,519
1 vote
0 answers
252 views

Cmake Swift framework with C files - setting target membership and properties

I am trying to build a framework with a combination of swift and C files and using cmake to generate the XCode Project: After generating the project using this command: add_library(MyLibrary STATIC ${...
Anton Unt's user avatar
  • 1,865
-2 votes
1 answer
59 views

Is it possible to create a framework which contains multiple UIViewcontrollers into it?

Login Module: Splash, login, registration, forgot password, Menubar I have 5 different applications on iOS & Android platforms. I have common login and some other modules with common API calls. I ...
Deepak Thakur's user avatar
2 votes
1 answer
419 views

How to handle optinal dependency in swift dynamic framework while XCFramework generating

I has a SDK named ProductSDK. This SDK also have two dependency sdks. CommonDependencySDK AdvanceDependencySDK And try to generate XCFramework in ProductSDK. My use case is, 2 types of use case in ...
S Surya's user avatar
  • 107
0 votes
1 answer
194 views

Presented view controller place under presenting view controller

I build a native iOS framework, which imported to a Unity project, to manage game account (login, logout, signup,...). When I call framework method to show login screen, it's presented but place under ...
Tiến Nguyễn Hữu's user avatar
1 vote
1 answer
214 views

How updating dynamic framework will affect App Store build

I have an app on the App Store and I have to create another app. This other app has some of the same functionalities as the first app. So I wanted to create a framework to put the common code in and ...
A.Ozda's user avatar
  • 59
0 votes
1 answer
545 views

Image Picker package not working in iOS as framwork

I m using image_picker in my flutter module. Its working fine in andorid as app & aar (module) and working fine in iOS as app. BUT NOT AS FRAMEWORK My code is below XFile? result = await ...
Naveen Avidi's user avatar
  • 3,063
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#...
Mahendra Liya's user avatar
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 ...
kkaun's user avatar
  • 603
0 votes
1 answer
768 views

How to load/Read Fonts from iOS framework, which are already added in main project in Swift?

Before anyone marks it duplicate, I have already checked this post but no help. I have created a framework, and in that framework I've created some UI. Now I want to use custom fonts for that UI, and ...
Abu Bäkr's user avatar
  • 323
3 votes
0 answers
318 views

Xcode: merge Unit tests into a single target

I'm developing a modular app with >30 modules, where each module has its own Unit test target. I also have a special test scheme which runs all Unit tests from all the targets. The problem is - it'...
askrav's user avatar
  • 203
0 votes
1 answer
404 views

TestFlight build with error: One or more dynamic libraries that are referenced by your app are not present in the dylib search path

I've been recently trying to overcome the problem mentioned in the email I receive when I upload a build to TestFlight: ITMS-90562: Invalid Bundle - One or more dynamic libraries that are referenced ...
noloman's user avatar
  • 11.9k
4 votes
1 answer
603 views

How to preserve directory layout of public headers when generating macOS frameworks

I have a CMake project for a C++ library (current version, CMake v3.21) which I'm in the process of porting to macOS, and I'm looking into generating the library as a OSX Framework. So far I've ...
RAM's user avatar
  • 2,719
-1 votes
1 answer
192 views

Compiler errors in UIKit based framework due to Swift 5.5 concurrency changes

I noticed that since Swift 5.5 some UI based classes changed their behavior in how they handle concurrency. I have a specific framework that encapsulates some UIKit features/logic and I am able to ...
Steffen Ruppel's user avatar
3 votes
1 answer
653 views

podspec file: keep folder structure of public C headers?

I'm trying to add a c code to my react native plugin for the iOS part, but I'm always getting the error that the header files could not find each other. My .podspec require "json" package = ...
chocolate cake's user avatar
2 votes
0 answers
418 views

XCode12: Receiving error "Include of non-modular header inside framework module"

I am trying to build a private CocoaPods framework 'APod' with other my custom private CocoaPods framework 'BPod'. I added 'BPod' as a dependency in the podspec file: **APod.podspec** s.dependency '...
jiaoxiaker's user avatar
3 votes
1 answer
3k views

How to create FAT / Universal framework with XCode 13?

We were using a script to create a FAT framework before where we followed the below steps. create a framework for iOS devices create a framework for simulator devices merge the above two frameworks &...
iDev's user avatar
  • 561
0 votes
1 answer
1k views

Accessing Objective-c Enum in Swift showing "Cannot find type in scope" in Unit Test Target

I am developing an framework project which is initailly developed in objective-c and for new changes we are started making in swift. I have just created an header which have only enum declaration in ...
Srinivas's user avatar
  • 307
0 votes
1 answer
912 views

Module not found inside 'Framework' -Swift.h file

I have created this sample Swift framework which has GoogleMobileAds in it integrated through Cocoapods. I have a class NativeAdView which inherits from GADNativeAdView. import GoogleMobileAds @objc ...
Rishab's user avatar
  • 1,947
0 votes
1 answer
292 views

Integrate ACSSmartCardIO & SmartCardIO into a SwiftUI project

The problem I'm facing is that I want to integrate the following frameworks into a SwiftUI project namely: ACSSmartCardIO & SmartCardIO I'm not proficient with SwiftUI or iOS development to ...
Dutchdev's user avatar
4 votes
0 answers
460 views

Bazel build `ios_framework` export headers from dependencies

I'm trying to build a ios_framework. It use OpencvFramework. But I don't know how to export headers from Opencv to reuse it My BUILD file load("@build_bazel_rules_apple//apple:ios.bzl", &...
Robert's user avatar
  • 41
1 vote
1 answer
499 views

React Native and Mediapipe ios framework compatible

I created a MediaPipe ios framework And I'm trying to integrate it into a React Native project But the app crash in Mutex::Lock() without any information I believe the reason is my framework and RN ...
Robert's user avatar
  • 41
1 vote
0 answers
2k views

simulating Bluetooth connection in Xcode simulator

I made some changes to an iOS framework that establishes Bluetooth connection between iPhone devices so that they can exchange messages. Additionally, I have access to the source code of an app that ...
abs8090's user avatar
  • 131
0 votes
0 answers
69 views

iOS frameworks. Template functions with same name, linker picks up wrong function?

I've got a simple iOS app with two frameworks. Each framework have a public function which returns a specific value from private template function. When app call public functions from frameworks - I ...
iamlosthere's user avatar
1 vote
0 answers
446 views

Sirikit - Adding Siri custom intent to a framework

I've seen many articles which demonstrate : "How to add Siri extension to my app" and "Create shared framework to share code between apps & extension" My questions and my need ...
Bbluxe's user avatar
  • 11
1 vote
2 answers
786 views

Creating default metal library from ios framework

I am creating a framework which includes several metal files, while creating default library using device?.makeDefaultLibrary() (when this framework is embedded in a project), application is crashing. ...
Parth's user avatar
  • 65
3 votes
1 answer
2k views

Xcode12.4 - iOS Umbrella xcframework framework with xcframework sub projects

I want to have some XCFrameworks into an umbrella framework or umbrella xcframework using Xcode 12.4 for iOS. I tried all the approaches mentioned in these threads. However, I am not able to get it ...
SWorld's user avatar
  • 33
4 votes
0 answers
215 views

Integrate google-ad-manager with ios framework

I'm trying to add google ad manager to custom iOS framework. I'm testing this framework with a test app, and make the dependencies by Cocoapods. If I'm adding the adMob account id to the test ...
Almog's user avatar
  • 91
2 votes
0 answers
267 views

How to add Multiple Flutter Framework in iOS App

In our native application, flutter framework is already added. We created a new module in flutter and want to add in the same application. We are getting exception while adding the framework. Is there ...
Pravesh Kumar Gupta's user avatar
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 ...
Anish Kumar's user avatar
1 vote
1 answer
754 views

Why does property name have an underscore (underbar) in generated iOS Framework using Kotlin Multiplatform?

I have a Kotlin Multiplatform project where I am generating an iOS Framework from Kotlin source code. One of my Kotlin interfaces has a property defined as such: interface Presenter { val ...
Derek Lee's user avatar
  • 3,650

1
2 3 4 5
11