Frameworks

RSS for tag

Ask questions about APIs that can drive features in your apps.

Frameworks Documentation

Posts under Frameworks tag

198 Posts
Sort by:
Post marked as solved
1 Replies
2.8k Views
Hi, I am developing a 'framework' for a client so they can embed some of my code into their own custom app. I'm confused a bit about the best option to distribute this. I have created an iOS 'framework' within my Xcode project and added all the necessary files there. Can I just build the framework and send them the build folder for the framework? Or is it better to generate an .xcframework that I read about somewhere? I'm just not completely sure about the benefits for distributing an .xcframework file (which there doesn't seem to be an option to generate from Xcode) over just the .framework folder from the built products? Thanks.
Posted
by
Post not yet marked as solved
1 Replies
1.5k Views
Hello, I am having trouble using the latest cocoapods version 1.12.1 compiled with XCode to create a workspace. i am on macOS 13.2.1 (22D68) with an Apple M2 chip. After creating my Podfile and entering 'pod install' into my terminal to create my workspace, the creation is successful but when I exit out of my .xcodeproj file and switch to the newly created .xcworkspace file, the items under the 'Products' folder on the left hand side is red, my project Product is also missing, along with the pods_ProductName framework. When i attempt to run the project either on the canvas or in the simulator, there are many build and linker errors. I have compiled a list or everything I have tried to fix this issue. I checked the Framework and Library Downloads: I confirmed that all the required frameworks and their content have been successfully downloaded. I verified Target Memberships: I ensured that the target memberships for the frameworks are correctly set to my project. I checked the Framework Search Paths: I reviewed the framework search paths and confirmed that they are empty. I reviewed the Build Settings: I checked the build settings, including Framework Search Paths and Link Binary With Libraries, and made sure they are correctly configured. I cleaned the Build Folder: I performed a clean build by selecting "Clean Build Folder" from Xcode's Product menu to remove cached build artifacts. I updated Xcode and Dependencies: I verified that I am using the latest version of Xcode and updated any third-party libraries or dependencies. I restarted Xcode and Mac: I restarted Xcode and my Mac to ensure a fresh state. I reset Xcode Preferences: I reset Xcode preferences by removing the DerivedData and UserData folders to restore default settings. I added "arm64" to Project -> Build Settings -> Excluded Architecture I redownloaded XCode multiple times I redownloaded an older version of XCode I ran pod deintegrate >pod update I deleted all frameworks from Embedded Binaries and re-added it #Here is my Podfile: platform :ios, '15.0’ target 'Ceyati' do use_frameworks! pod 'GooglePlaces', '7.1.0' pod 'OpenWeatherMapAPI', '~> 0.0.5' pod 'Alamofire' end Let me know if anyone knows how to fix this, or where i can take it to get looked at. I have been attempting for the last 3 days. Thank you.
Posted
by
Post not yet marked as solved
1 Replies
513 Views
My app depends on two frameworks that I don't want to check-in to source. Previously, when I was using traditional frameworks, I had a run script phase in the build steps that would compile the frameworks. This worked well as the first time one would try to build the app it would also build the needed frameworks. However, after switching to xcframeworks, this no longer works. Even though the run script phase is before the compile and link steps - the build still fails because the frameworks don't exist yet. Is there a workaround for this, or have I encountered a bug?
Posted
by
Post not yet marked as solved
1 Replies
3.5k Views
The issue first came after I upgraded to Xcode 14.3, then to fix this I have added -f flag to the frameworks.sh file, also tried downgrading from 14.3 to 14.2. But the issue still exists. PhaseScriptExecution [CP]\ Embed\ Pods\ Frameworks /Users/hclabs/Library/Developer/Xcode/DerivedData/Build/Intermediates.noindex/ArchiveIntermediates/plutomobile/IntermediateBuildFilesPath/plutomobile.build/Release-iphoneos/plutomobile.build/Script-44280D450D5E221B6620F3A5.sh (in target 'plutomobile' from project 'plutomobile') cd /Users/hclabs/Downloads/pluto-mobile/ios /bin/sh -c /Users/hclabs/Library/Developer/Xcode/DerivedData/Build/Intermediates.noindex/ArchiveIntermediates/plutomobile/IntermediateBuildFilesPath/plutomobile.build/Release-iphoneos/plutomobile.build/Script-44280D450D5E221B6620F3A5.sh This is the error I'm getting , As I browsed through the internet I saw that most people's issue were fixed by the -f flag. But it's kind of not working.
Posted
by
Post not yet marked as solved
0 Replies
1k Views
I have a customized view like below: import UIKit public class TestView: UIView { public struct Preference { } public static var global: Preference = Preference() public class func show(preference: Preference = TestView.global) { } } I used xcodebuild archive and xcodebuild -create-xcframework to create a xcframework. However, when I embeded it to my host project, there is an error: Main actor-isolated static property 'global' can not be referenced from a non-isolated context, which is in the ***.private.swiftinterface file. The content of this file is as below: // swift-interface-format-version: 1.0 // swift-compiler-version: Apple Swift version 5.7.1 (swiftlang-5.7.1.135.3 clang-1400.0.29.51) // swift-module-flags: -target x86_64-apple-ios16.1-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -Onone -module-name SDK // swift-module-flags-ignorable: -enable-bare-slash-regex import Foundation @_exported import SDK import Swift import UIKit import _Concurrency import _StringProcessing @objc @_inheritsConvenienceInitializers @_Concurrency.MainActor(unsafe) public class TestView : UIKit.UIView { public struct Preference { } @_Concurrency.MainActor(unsafe) public static var global: SDK.TestView.Preference @_Concurrency.MainActor(unsafe) public class func show(preference: SDK.TestView.Preference = TestView.global) @_Concurrency.MainActor(unsafe) @objc override dynamic public init(frame: CoreFoundation.CGRect) @_Concurrency.MainActor(unsafe) @objc required dynamic public init?(coder: Foundation.NSCoder) @objc deinit } Is it a bug for Xcode? Now my workaround is to avoid static properties in the method declaration.
Posted
by
Post not yet marked as solved
0 Replies
928 Views
Hello all, I wanted to get MXMetricPayload to analyse some App metrics. And for some reason the method func didReceive(_ payloads: [MXMetricPayload]) from mxMetricManager is not being executed. For this I created a Class: import MetricKit public final class MetricKitManagerImpl: NSObject, MetricKitManager { public static let shared: MetricKitManager = MetricKitManagerImpl(mxMetricManager: MXMetricManager.shared) private let mxMetricManager: MXMetricManager private init( mxMetricManager: MXMetricManager ) { self.mxMetricManager = mxMetricManager super.init() mxMetricManager.add(self) } deinit { mxMetricManager.remove(self) } public func didReceive(_ payloads: [MXMetricPayload]) { payloads.forEach { if let scrollHitchTimeRatio = $0.animationMetrics?.scrollHitchTimeRatio.value { sendToSomeWhere(scrollHitchTimeRatio) } } } } Then on the AppDelegate on didFinishLaunchingWithOptions I do: private(set) var metricsManager: MetricKitManager! func application( _ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? = nil ) -> Bool { self.metricsManager = MetricKitManagerImpl.shared ... } With this setUp I am able to receive the debug playload (triggered from Xcode Menu. Debug -> Simulate Metrik Kit Payload). However, after using the app for some days, I did not receive any real payload. Did anyone experience this? What am I doing wrong? Thanks a lot in advance! Miguel Franco
Posted
by
Post not yet marked as solved
0 Replies
563 Views
When trying to import Spatial in a project targeting macOS, I see the following error message: Cannot load underlying module for 'Spatial'. However, when I do the exact same import in an iOS project, it works fine. In the macOS project, Xcode offers to autocomplete the word 'Spatial', so it knows about it, but I can't use it. I've also tried adding the Spatial framework to the macOS project (note I never added anything to the iOS project where this works). When adding, there is no Spatial.Framework listed. There is libswiftSpatial.tbd, but there is no corresponding libswiftSpatial.dylib in \usr\lib\swift as the .tbd file says there should be. I'm kind of a n00b at this, and I don't understand what incredibly obvious thing I'm missing. The docs say Spatial is OK for macOS 13.0+, I have 13.4. I'm using Xcode 14.3.1. The doc page refers to Spatial as both a Framework, and as a module, and give no help on incorporating it into an Xcode project. Any help is appreciated, thanks. -C
Posted
by
Post not yet marked as solved
4 Replies
1.3k Views
Hello, I'm Software Engineer and my work is developing SDK. I'm on developing 1 Swift Package for general logic and 1 SDK (Xcode Framework Project) for business logic. (SDK depends on Swift Package) Until now, I merge them with @_implementationOnly. And I want to migrate to MAKE_MERGEABLE. Can I mark Swift Package Dependency as MAKE_MERGEABLE on SDK Xcode Framework Project? Or can I mark Swift Package MAKE_MERGEABLE on Package.swift? Or I can't make Swift Package MAKE_MERGEABLE?
Posted
by
Post not yet marked as solved
0 Replies
913 Views
I'm specifically talking about macOS because the others are very different beasts. Since, well literally the first release of OS X 10.0, there has not been a coherent automation framework on the Mac. The last OS to offer that was Mac OS 9.X To define terms, by coherent, I mean from the command line environment up through the user interface. A single, coherent automation framework that is usable across the entire OS, ala PowerShell on windows. That doesn't exist for current macOS, nor has it ever existed for any variant of macOS since again, Mac OS 9.X At best it has been a pastiche of completely different frameworks, operating modalities and languages all desperately trying to work together via osascript and do shell script. That any of it works at all is like a talking dog: the fact the dog talks is a miracle, bad grammar is minor. Yes, I know Shortcuts exist, but shortcuts are a developer managed bit of pseudo-automation. If I limit myself to Shortcuts, then I have little to no ability to do anything beyond what the developer of that application chooses to allow me to do. For example, at least as of Ventura, Dictionary, Font Book, iMovie and others have no shortcuts. I can't create my own shortcut for those apps, the devs have to do that. (the fact that Apple is not flooding us with Shortcuts shows how little Apple cares as a company about this. Individual teams wax good and bad, but clearly, Apple doesn't think dogfooding here is important.) (Note: if your only comment is to ask why anyone would care about automating , that's absolutely not the point. The idea is to make it possible for everyone, not just developers, to create in ways no one can predict outside of an application's constraints.) "Well, there's always AppleScript/JXA" I will not write down the laughter here, but there is laughter. As of Ventura, there are no less than 32 Apple applications with no scripting dictionary at all, so neither AppleScript/JXA can work. You might be able to use UI scripting, but no guarantee there, and UI scripting is a fragile thing, at best suited to a last resort option. Again, Apple could lead the way, they choose not to. But that's only the UI levels. Below the UI, then there's no coherency at all. You're stuck with shell scripts and whatever a given utility's author chose to allow, and sharing data and information is no better than at the UI level, and neither the command line level nor the UI level know the other exists. The only way to combine the two is again: Do Shell Script Osascript That is not a coherent automation framework. Then of course, there's the lack of documentation. AppleScript has inherited at least the language guide, which is well-written and usable, but the command line level has man pages. Which are the most inconsistent things. Some utilities' man pages are remarkably useful, others don't even have man pages. At all. Other utilities man pages have syntax errors for the command that brings up the help page and that is all the man page does. Ponder the disconnect there: --help provides detailed usage information that is not in the man page. The man page says use ---help which is bad syntax. This seems odd, but why is the --help output not also in the man page? Is that not the purpose of the man page? Man page inconsistencies aside, Apple developer support has only ever barely acknowledged automation/scripting and really never supported it except for accidentally. Even in a language like AppleScriptObjecttiveC, (ASOC) which one can use for real apps in the MAS, the response from DTS for help was "use the mailing list." (not that DTS is that good anyway, I had an issue with CoreWLAN in ventura, and have since been ghosted on any notification that the OS bug that was causing me problems has been fixed. Maybe it has, maybe it hasn't. I can test for it, but why did DTS ghost an actual SwiftUI issue for an app written in Swift? ¯_(ツ)_/¯ This is a solveable problem, Microsoft has solved it in terms of language, documentation and coherency, with PowerShell. Leaving aside architectural issues that make it almost impossible to properly secure windows, the way MS treats PowerShell is the example. Windows as an OS has excellent support for automation, the documentation for PowerShell is amazing, (the documentation for a scripting language is better than Apple's entire developer docs, which is just inexcusable.) The difference between automating either platform is night and day, and in a race with two horses, Apple is a distant fifth. The language syntax here is almost a non-issue. In fact, I think using a "powershell'd" version of Swift would be an excellent idea. Create a simpler version of swift in the way PowerShell is a simpler version of C#. Make it so if you need to call a framework outside of the main automation framework, you can do so with ease, ala PowerShell. For example, PowerShell has no GUI primitives the way AppleScript does, so to create a file choose browser in PowerShell, you instead invoke the correct .NET framework: Add-Type -AssemblyName System.Windows.Forms $FileBrowser = New-Object System.Windows.Forms.OpenFileDialog -Property @{ InitialDirectory = [Environment]::GetFolderPath('Desktop') } $null = $FileBrowser.ShowDialog() Ironically, you can do this with ASOC, but only for items that have ObjC interfaces, which will be shrinking. Having a coherent automation framework with a primary language that allows people using it to more easily use "full" Swift and its frameworks as needed is a force-multiplier for Apple. It would help people do more with macOS and maybe other platforms depending on implementation, not less. It would not force people to beg the developers of their apps to write Yet Another Shortcut to do this thing that they can't do, (or have to do the dance to convince the dev that their need is worth the trouble), and it would allow people to solve their problems in their own ways for their own needs. But, it requires Apple to care about this at all, and that is where the problem is. This is fixable, Apple has the resources to fix it, what they lack is interest and desire. But creating and fully supporting a proper automation framework would add so much to macOS and the other platforms by extension that there's no logic behind not doing so. Maybe next year. (in the best lol of all, you can't even create an automation tag for a post. sigh.)
Posted
by
Post not yet marked as solved
4 Replies
1.4k Views
All demo code from Apple that I know lacks view models. Every time model data is directly injected into the view and even modified from the view via the new @Bindable macro. Is Apple not using ViewModels and therefore MVVM at all? I understand it might not really be required for the small demos, but it would still be helpful to understand, e. g. how the new @Model, @Observable, @Binding fit into the MVVM model.
Posted
by
Post not yet marked as solved
0 Replies
705 Views
Since we used the UIPageViewController control, no matter which system the model of the phone, every version always happens the same crash。 We use UIPageViewController control style is "UIPageViewControllerTransitionStyleScroll" , flip back and forth through "setViewControllers:" to set.We suspect that the crash is caused by a problem with the UIPageViewController control itself.Has anyone encountered it, and how should you avoid it The crash log is as follows: Fatal Exception: NSInternalInconsistencyException 0 CoreFoundation 0x9cb4 __exceptionPreprocess 1 libobjc.A.dylib 0x183d0 objc_exception_throw 2 Foundation 0x4e156c _userInfoForFileAndLine 3 UIKitCore 0x7951c4 -[UIPageViewController queuingScrollView:didEndManualScroll:toRevealView:direction:animated:didFinish:didComplete:] 4 UIKitCore 0x79f1d8 -[_UIQueuingScrollView _notifyDelegateDidEndManualScroll:toRevealView:direction:animated:didFinish:didComplete:] 5 UIKitCore 0x7a0b3c -[_UITransitionState cleanupWithFinishedState:completedState:] 6 UIKitCore 0x79e2e0 -[_UIQueuingScrollView _cleanUpCompletionState:didFinish:didComplete:] 7 UIKitCore 0x7a0718 -[_UIQueuingScrollView _didEndScroll:] 8 UIKitCore 0x7a08b8 -[_UIQueuingScrollView _didEndManualScroll] 9 UIKitCore 0x79ce40 -[_UIQueuingScrollView _scrollViewDidEndDecelerating] 10 UIKitCore 0x290f44 -[UIScrollView _scrollViewDidEndDeceleratingForDelegate] 11 UIKitCore 0x290ea4 -[UIScrollView _stopScrollDecelerationNotify:] 12 UIKitCore 0xbb238 -[UIScrollView _smoothScrollSyncWithUpdateTime:] 13 UIKitCore 0xba960 -[UIScrollView _smoothScrollWithUpdateTime:] 14 UIKitCore 0x387c90 -[UIScrollView _smoothScrollDisplayLink:] 15 QuartzCore 0x2946c CA::Display::DisplayLink::dispatch_items(unsigned long long, unsigned long long, unsigned long long) 16 QuartzCore 0x146f28 CA::Display::DisplayLink::dispatch_deferred_display_links(unsigned int) 17 UIKitCore 0x64e4b0 _UIUpdateSequenceRun 18 UIKitCore 0xcb2c8c schedulerStepScheduledMainSection 19 UIKitCore 0xcb21e8 runloopSourceCallback 20 CoreFoundation 0xd3128 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ 21 CoreFoundation 0xdf7b4 __CFRunLoopDoSource0 22 CoreFoundation 0x645e8 __CFRunLoopDoSources0 23 CoreFoundation 0x7a0d4 __CFRunLoopRun 24 CoreFoundation 0x7f3ec CFRunLoopRunSpecific 25 GraphicsServices 0x135c GSEventRunModal 26 UIKitCore 0x39d6e8 -[UIApplication _run] 27 UIKitCore 0x39d34c UIApplicationMain 28 ZongHeng 0x3d6fe0 main + 20 (main.m:20) 29 ??? 0x1cfc06dec (缺少) apple crash log is: 2023-06-11_08-57-36.0180_+0800-5913f345621ee9343b650052710f4d0ecdabadc6.crash 2023-06-10_03-38-38.1645_+0800-e6b405cf6b7044d62e0c25ea5a86865b1c515206.crash 2023-06-09_19-57-04.0177_+0800-5a23d96f5b2749c82056a938177521fc91ce7e36.crash 2023-06-04_09-12-40.8371_+0800-cdb129f42a53197ab519e061063102834a17d430.crash 2023-06-03_16-14-29.8388_+0800-45901a35aa78ec311ffd21551599433eb848c815.crash 2023-02-18_23-55-21.2704_+0800-39473cb20287d9708946d0886e54b6de2b64bc05.crash 2023-02-04_09-55-54.1312_+0800-a0b645c34d2186354c91f18f8c1e4463b419ee17.crash 2022-12-13_05-32-52.7418_+0800-a9ba3c3e72257c6f3a2cf7811509b6e8daa836bc.crash 2022-12-09_03-40-26.5813_+0800-90bd72a94d87e907c8cc3d1096da45ed79cbfe46.crash
Posted
by
Post marked as solved
5 Replies
1.2k Views
App crashes at launch for some of our live users (NOT TESTFLIGHT). I have managed to extract the error log: Incident Identifier: B1F06CCD-4AAB-402F-9909-11FA7E1C54F3 Hardware Model: iPhone14,3 Process: *** [549] Path: /private/var/containers/Bundle/Application/DAE1AAC4-2150-46EF-B7B9-29553EA7346E/***.app/*** Identifier: com.XX.XX Version: 9.0 (70) AppStoreTools: 14E221 AppVariant: 1:iPhone14,3:15 Code Type: ARM-64 (Native) Role: Foreground Parent Process: launchd [1] Coalition: com.XX [580] Date/Time: 2023-06-12 15:59:45.2595 +1000 Launch Time: 2023-06-12 15:59:45.2060 +1000 OS Version: iPhone OS 15.6.1 (19G82) Release Type: User Baseband Version: 1.70.01 Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY Termination Reason: DYLD 4 Symbol missing Symbol not found: (_objc_claimAutoreleasedReturnValue) Referenced from: '/Volumes/VOLUME/*/***.app/Frameworks/GoogleUtilities.framework/GoogleUtilities' Expected in: '/usr/lib/libobjc.A.dylib' (terminated at launch; ignore backtrace) Triggered by Thread: 0 Thread 0 Crashed: 0 dyld 0x00000001034bcb14 __abort_with_payload + 8 1 dyld 0x00000001034c26cc abort_with_payload_wrapper_internal + 104 (terminate_with_reason.c:102) 2 dyld 0x00000001034c2700 abort_with_payload + 16 (terminate_with_reason.c:124) 3 dyld 0x0000000103492a00 dyld4::halt(char const*) + 580 (DyldProcessConfig.cpp:2102) 4 dyld 0x000000010348fa20 dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*) + 3560 (dyldMain.cpp:0) 5 dyld 0x000000010348dd84 start + 488 (dyldMain.cpp:864) Thread 0 crashed with ARM Thread State (64-bit): x0: 0x0000000000000006 x1: 0x0000000000000004 x2: 0x000000016ddc56c8 x3: 0x00000000000000e4 x4: 0x000000016ddc52c8 x5: 0x0000000000000000 x6: 0x0000000000000000 x7: 0x000000016ddc4d40 x8: 0x0000000000000020 x9: 0x0000000000000009 x10: 0x000000016ddc53b8 x11: 0x0000000000000108 x12: 0x0000000000000000 x13: 0x0000000000000035 x14: 0x0000000248f2d99d x15: 0x000000016ddc47e8 x16: 0x0000000000000209 x17: 0x00000001034b71c8 x18: 0x0000000000000000 x19: 0x0000000000000000 x20: 0x000000016ddc52c8 x21: 0x00000000000000e4 x22: 0x000000016ddc56c8 x23: 0x0000000000000004 x24: 0x0000000000000006 x25: 0x000000016ddc52c8 x26: 0x0000000000000400 x27: 0x0000000000000400 x28: 0x00000000000000f0 fp: 0x000000016ddc5290 lr: 0x00000001034c26cc sp: 0x000000016ddc5250 pc: 0x00000001034bcb14 cpsr: 0x1000 esr: 0x56000080 Address size fault Binary Images: 0x103474000 - 0x1034cbfff dyld arm64e <66e1fb2668f8379ba052eb8b8291b5e1> /usr/lib/dyld EOF Any help in fixing this issue with GoogleUtilities.framework/GoogleUtilities will be highly appreciated.
Posted
by
Post not yet marked as solved
0 Replies
805 Views
I am using RxCocoa in custom framework, so I am trying to inject dependencies with SPM and make that .xcframework. I made the .xcframework, but the following error keeps appearing. The process of creating and configuring the framework project and creating the xcframework was as follows. Development Environment CPU : Apple slicon (M1 PRO) MacOS : Ventura 13.1 Xcode : 14.1 Step Create framework project (sdk-sample) Set Build Active Architecture Only YES from NO Mach-O Type is Dynamic Library Write simple code using RxSwift, Rxcocoa Create .xcarchive and .xcframework xcodebuild archive \ -scheme sdk-sample \ -archivePath ./archive/sdk-sample.framework-iphoneos.xcarchive \ -sdk iphoneos \ SKIP_INSTALL=NO \ BUILD_LIBRARY_FOR_DISTRIBUTION=YES \ xcodebuild archive \ -scheme sdk-sample \ -archivePath ./archive/sdk-sample.framework-iphonesimulator-arm64.xcarchive \ -sdk iphonesimulator \ SKIP_INSTALL=NO \ BUILD_LIBRARY_FOR_DISTRIBUTION=YES \ xcodebuild -create-xcframework \ -framework './archive/sdk-sample.framework-iphoneos.xcarchive/Products/Library/Frameworks/sdk_sample.framework' \ -framework './archive/sdk-sample.framework-iphonesimulator arm64.xcarchive/Products/Library/Frameworks/sdk_sample.framework' \ -output './MySDK.xcframework' Created Package.swift as below and uploaded it to git let package = Package( name: "MySDK", platforms: [ .iOS(.v13) ], products: [ // Products define the executables and libraries a package produces, and make them visible to other packages. .library( name: "MySDK", targets: ["sdk-sample-target"]), ], dependencies: [ // Dependencies declare other packages that this package depends on. // .package(url: /* package url */, from: "1.0.0"), .package( url: "https://github.com/ReactiveX/RxSwift.git", .upToNextMajor(from: "6.5.0") ) ], targets: [ // Targets are the basic building blocks of a package. A target can define a module or a test suite. // Targets can depend on other targets in this package, and on products in packages this package depends on. // .bin .binaryTarget(name: "MySDK", path: "MySDK.xcframework"), .target( name: "sdk-sample-target", dependencies: [ .target(name: "MySDK"), .product(name: "RxSwift", package: "RxSwift"), .product(name: "RxCocoa", package: "RxSwift"), ], path: "Sources" ), ], swiftLanguageVersions: [ .v5 ] ) When I download the SDK I made with spm, an error occurs Is there any way to solve it?
Posted
by
Post not yet marked as solved
0 Replies
1.2k Views
i am facing issue using xcode 14.3, the error is failed to emit precompiled header '/Users/Library/Developer/Xcode/DerivedData/ksl-eyxaasnuhobrniasqskqxatrixxw/Build/Intermediates.noindex/PrecompiledHeaders/TEBridge-Header-swift_YVK8DW4UEVT6-clang_2GLMX79PBJ59I.pch' for bridging header '/Users/Desktop/GA-4For mobile/ott-ios-Latest-16-June/ksl/Utilities/Resources/TEBridge-Header.h'
Posted
by
Post not yet marked as solved
1 Replies
1k Views
Hey i am trying to Link Zelle API with SWIFT Based Ecommerce Store , Getting error code 8889275440 , and 18889275440 , Am trying to track and put balance into users account as i receive the payment from user and post directly to his account when he tries to add funds , But getting the above two error codes
Posted
by
Post not yet marked as solved
0 Replies
382 Views
Hello, I am using print API to print pdf files and I have questions: How can I get available paper trays for the printer and select one of them How can I print pdf in grayscale mode. What print setting should I set
Posted
by
Post not yet marked as solved
1 Replies
687 Views
I am receiving the error as Command analyse failed with a nonzero exit code. It is appearing in the package of RealmDatabase > src > realm > alloc_slab.cpp There is no red highlighted line to identify the error inside that cpp file. I added the package from the GitHub link which is as : https://github.com/realm/realm-swift.git Version: master Name: Realm Attached is the Clang's .ips file for further information Please suggest any possibility. Thanks in advance!
Posted
by
Post not yet marked as solved
1 Replies
857 Views
Hello friends, Ever since I've upgrade to Xcode 14.3, our project has been failing to archive after build, with following error: Copy /<redacted_path_to_project>/Build/Intermediates/ArchiveIntermediates/LiquidDecisions/InstallationBuildProductsLocation/Applications/Decisions.app/Frameworks/LiquidPlatformKit.framework /<redacted_path_to_project_root>/Frameworks/LiquidPlatformKit.framework (in target '<AppName' from project '<AppName>') error: /<redacted_path_to_project_root>/Frameworks/../../IntermediateBuildFilesPath/UninstalledProducts/iphoneos/LiquidPlatformKit.framework: No such file or directory (in target '<AppName>' from project '<AppName>') LiquidPlatformKit.framework is our private library/framework for our iPadOS project. I'm not sure why is this popping for Xcode 14.3+; and its the same error we're seeing in Xcode 15 beta as well. I've seen some similar issue but for CocoaPods and since our framework is not part of Pods that solution is not application to us. Have you faced similar issue? any suggestions to fix this issue? Thanks in advance.
Posted
by