All Questions
Tagged with objective-c frameworks
705
questions
0
votes
0
answers
12
views
Unable to create framework in Xcode 15 with Objective-C throwing error "Command PhaseScriptExecution failed with a nonzero exit code"
I am trying to create objective C Network framework using Xcode 15 with minimum supported iOS version 14.0.
Here are the steps I am following:
I created New> Project> framework> Objective C&...
0
votes
0
answers
17
views
Cocoapod integration Issue in Framework as target
I have created an Application in which we have framework as target. I am using SendbirdChatSDK and Sendbirdcalls Cocoapod as dependency for framework.
While compiling it is showing error in swift ...
0
votes
1
answer
25
views
How can I use a private-framework's function in Xcode?
I am trying to understand how to use private frameworks in Xcode. Specifically I want to call the MTDeviceCreateList() from the MultitouchSupport-Framework to create a minimal working example. I ...
1
vote
1
answer
60
views
Difficulty Accessing Objective-C Class within Swift Framework in XCFramework
I have a Swift Framework and I want to add an Objective C wrapper to access from Objective C project (This is the requirement for some reason).
I have wrapped up the Swift class to support in ...
0
votes
0
answers
84
views
Swift and Objective-C interoperability
I am working on a project in which we are migrating from iOS project to framework. I am facing issues with Objective-C and Swift interoperability.
I have one Swift class named Profile. It has been ...
0
votes
0
answers
38
views
Facing issue while using Module Map to expose objective c header files in swift
I am working on iOS SDK, In my project I have both objective c and swift files. So for this I have created a framework, in this I have used module map to expose objective C header files to Swift by ...
0
votes
0
answers
69
views
Why Xcode dynamic library can not compile only with header file,but static library can do
my SDK need another SDK, I have its .h file (xdjaalg.h).
When I compile my dynamic library only with xdjaalg.h file, error comes with:ld: Undefined symbols:. so I have to link xdjaalg.a, but I don't ...
0
votes
0
answers
64
views
How can I create a framework with pod dependencies in it?
I saw many tutorials by the developers which are not proved to be very helpful for me to in this area. Some of them are old a few are now like year old but when I follow them them the same thing is ...
0
votes
2
answers
277
views
Trying to understand NS_REFINED_FOR_SWIFT when used on a whole class
I am working on a framework project written in Objective-C. I'm trying to ensure the resulting public Swift API follows modern standards. As a result I'm looking into macros such as NS_SWIFT_NAME and ...
1
vote
0
answers
245
views
How to load assets from a framework on iOS 16?
I have a private library which contains image assets for many of my apps. I include this library using CocoaPods in my app, using a local path and use_frameworks!.
I use the following code for opening ...
0
votes
1
answer
782
views
Is it possible to import and add .xcframework file to a static xcode library project?
I have set of .xcframework files, and currently I working on a static library
I need to integrate those .xcframework files into my static library, but it seems Build settings menu and build phase menu ...
0
votes
1
answer
144
views
Framework using Framework
I have created a FramweworkA written in Swift, which uses a FrameworkB written in Objective-C.
These two frameworks are dynamic.
I have no error when I integrate my FrameworkA to my iOS application.
...
5
votes
3
answers
886
views
How to set up interoperability between internal Swift and Objective-C classes when developing a Framework [duplicate]
I have a Framework with mixed Objective-C and Swift classes and i'd like to communicate between them keeping the Swift interface internal (without making Swift classes and methods public). Is there a ...
1
vote
1
answer
186
views
No obj-c interfaces generated for swift classes in mixed Swift Obj-C framework unit tests target
I have a mixed Swift Obj-C framework. Inside framework target there is a modulemap file with next contents:
framework module ObjCSwiftMix {
umbrella "."
export *
}
I also have ...
0
votes
1
answer
2k
views
How to use Swift framework in Objective-c app
I would like to use a Swift library in my Objective-C IOS app. I have the Swift library setup as a separate project, which builds fine in XCode. I can drag the generated Swift framework from the Swift ...