Posts

Post not yet marked as solved
0 Replies
719 Views
What I am trying to do is build an XCFramework which I would like to be available for iOS and iOS Simulator. As soon as I turn on `Defines Module` and `Build Libraries for Distribution` the swiftinterface files are no longer generated. It archives and I can create a the XCFramework just fine. If I don't define a module then the files are generated. However when I go to import the sub framework that defines a module, it can not import the file it produces an error when the Framework that defines a module can’t be found in the main Framework’s swiftinterface file. For a simple example of the issue I created a GitHub project. https://github.com/possen/HostAppIf it Is not allowed it would be good to have an error or warning, but really kind of need this capability. Most third party libraries define a module, and I want to enable be able to use an XCFramework.Open the project from GitHub and build, there are 4 targets, of those there are two frameworks, the main difference between the BarKit and FooKit frameworks is that BarKit has the “Defines Module” flag set to true. First build the HostApp target, this will generate FooKit.framework and Bar.framework. Next, run the ./create_xcframework script included in the root of the project. Look at the generated XCFramework. Foo.framework does not define a module and therefore generates swiftinterface files, BarKit.framework does defines a module, it does not generate swiftinterface files. Now, build the HostAppXC target, it will fail to build because the BarKit.framework has no swiftinterface files. If you turn off “Defines Module” for BarKit.framework, rerun ./create_xcframework, then it compiles and runs.
Posted
by possenus.
Last updated
.
Post not yet marked as solved
1 Replies
1.1k Views
I had Xcode Server running great until some certificates expired. I have tried to delete the expired certificates in the Xcode Sever UI for the Bot. If you control click on the menu item a menu appears but the option to delete the certificate is grayed out. I currently have about 8 certificates that are listed as "Unknown Team". I cleared out the certificates in the integration user's keychain but they don't seem to go away in the bot UI. I would like to clear out these certificates but they either keep coming back or are not completely being deleted. Not sure where it keeps them or what to delete to force it to use the new certificates. Some other questions seem to indicate that they are stored in a couchdb database, I dont know couchdb and I could not get the command line tools to work. Any help with this would be greatly appreciated. I really dont want to have to rebuild the whole server from scratch.
Posted
by possenus.
Last updated
.