Posts

Post not yet marked as solved
3 Replies
6.2k Views
Hello,hopefully, this is a real beginer question, so hopefully it is easy to answer …I want to create a new framework for an existing Objective-C app. And because Swift is all shiny, and we already are using Swift in other parts of the app, I am writing the framework in Swift.However, when I #include "${MODULENAME}-Swift.h" in my umbrella header, Xcode tells me on a clean compile: ‘'${MODULENAME}-Swift.h' file not found'If I comment that line, build, then uncomment it and build again, Xcode will find it. This, however, is unacceptable for, say, build servers.Questions:1) It appears, that when I am importing the Framework as a module (i.e. @import ${MODULENAME} ), I don't need to #include "${MODULENAME}-Swift.h" in my umbrella header.Is this true? Is it not necessary to explicitly expose the -Swift.h headers when importing the Framework as a module?2) This leads me to the next question:Do Swift Frameworks have to be imported as modules? The app is an old codebase and currently sets CLANG_ENABLE_MODULES to NO. Is it necessary to set this to YES when using a Swift Framework?3) Am I doing something wrong with the #import? If I can use the Framework not as a module, but #import <Framework/Umbrella.h> is good, what do I have to do to have{MODULENAME}-Swift.h available even on a clean compile?Again, hopefully these are simple questions, and someone can easily answer them 😉
Posted
by below.
Last updated
.
Post not yet marked as solved
0 Replies
567 Views
Hello, in my app, I am using NSUserActivity in order to donate SiriShortcuts. The one that I am donating through the INUIAddVoiceShortcutViewController shows up in the Shortcuts Application, the one that I am donating via becomeCurrent does not. The later does appear in the Siri Suggestion pull-down. For both I am using the same identifier, one comes without additional userData, one does. Might that be the issue?
Posted
by below.
Last updated
.
Post not yet marked as solved
2 Replies
2.5k Views
Hello, I am trying to compile arm64 assembly, but the linker tells me that libSystem.dylib can not be found. Is this due to system libraries no longer present on the system (I don't have a 11.0 x86_64 system to compare), or am I doing it wrong? My call is ld -o HelloWorld HelloWorld.o -macosx_version_min 11.0 -lSystem
Posted
by below.
Last updated
.
Post not yet marked as solved
0 Replies
714 Views
Hello,I have a mobile provisioning profile and a developer certificate for a certain team (let’s call it Team ABC), but I am not a member of that team (i.e., in Xcode accounts, I am not logged in as a member of that team).When I want to add a container in the App Groups capability, Xcode tells me I don’t have an account to do that.Is it correct that I must have an active developer account for Team ABC in order to add a container in App Groups?ThanksAlex
Posted
by below.
Last updated
.