Search results for

Building for iOS Simulator, but the linked and embedded framework ‘XX.framework‘ was built for

186,349 results found

Post

Replies

Boosts

Views

Activity

Reply to Where to put a Swift framework for execution?
Pretty sure you can't build standalone Swift-based frameworks, only embedded (not necessarily impossible, mind, but unsupported for anyone not already called Apple). See:http://stackoverflow.com/a/24072626/2298645That discusses Xcode 6/Swift 1.x, but I've been trying to build a standalone framework using Xcode 7/Swift 2 and get exactly the same results. It's a right PITA for third-party framework devs wanting to build out the larger ecosystem, but there's a lot of things about Xcode7 and Swift2 that aren't properly baked yet so not entirely surprising. (Apple's platform is all about the apps now, so as long as embedded frameworks are working, standalone build support probably isn't a high priority.) For now, I think you just have to grit your teeth and add a build phase shell script to your commandline project to copy your latest framework files over to it whenever it builds (ugh).
Topic: Programming Languages SubTopic: Swift Tags:
Aug ’15
Expo crash on iOS simulator
I've been working on my mobile app project using Expo. Yesterday, when I tried to run the app again, the Expo Go in the iOS simulator got stuck on the screen showing New update available, downloading... and then crashed. I'm not sure what went wrong. It only provides a long error report. I ran an EAS build, which completed successfully, so I suspect the issue might be with the iOS simulator or Expo Go itself. Please help me out :(
3
0
1.3k
Jan ’25
Build Simulator crash
hi there! i got this error when I try to use the simulator: Swift/ContiguousArrayBuffer.swift:600: Fatal error: Index out of range 2023-07-03 21:53:49.575166+0900 LRAT[72102:3459787] Swift/ContiguousArrayBuffer.swift:600: Fatal error: Index out of range I've got this really long code and I really am unsure how to shorten it. but, when I try to use the simulator, I choose the pickers and it stops. sometimes it can choose choices in the pickers but when I try to export a pdf, it stops. just freezes. the choices are in a separate Swift file. I need help. The following is the code for this particular file(very incomplete). import SwiftUI import UIKit import PDFKit struct NaturalSlopeFormView: View { @Environment(.presentationMode) var presentationMode @State private var location: String = @State private var evaluators: [String] = [] @State private var isDatePickerShown = false @State private var selectedDate = Date() @State private var slopeAnglePickerIndex = 0 //until the 31st variable @State
3
0
607
Jul ’23
How can I properly link the python3 framework to my c++ project?
Im trying to link the Python3 framework to a c++ project in Xcode. It gives me a build error that says the python3 framework is not found. I can add the the path to the framework under framework search paths in the build options, this will let the code compile, however when I run it it says dyld: Library not loaded: @rpath/Python3.framework/Versions/3.8/Python3 Reason: image not found . If I remove the framework and add -lpython3.8 to linker options and then add the library and header locations to the search path this will also compile and fail with the same image not found error. Im on a M1 Macbook Air, Big Sur 11.1, Xcode 12.3. As for a question... I would like to know How can I properly link the python3 framework to my c++ project?
1
0
1.8k
Jan ’21
Reply to The signature of the binary is invalid during notary, but is valid in codesign
Hi, thanks for replying. The output is quite large as this app is built using pyinstaller and there are many .so embedded. So today instead of manually code signing it after build I tried to add codesign_identity in the spec file of pyinstaller. (https://pyinstaller.org/en/stable/feature-notes.html#macos-binary-code-signing) but it crashes. The report is so large that I could only attach a link to this https://docs.google.com/document/d/e/2PACX-1vR_lGrD2L9ET-S8fbUKYBmoe2C0t28b0hF31Yttf0a-MH4dOX0fKtlyFZyILnBy5zPm6uDxHZXXOLo3/pub
Dec ’24
UX error in launching newly builded app in visionOS 1.0 Simulator
Everytime Xcode Version 15.0 beta 4 (15A5195m) finished building, it automatically launches the app in visionOS 1.0 Simulator where the home menu is being overlaid over the newly built app. Then I need to tap a button in the launched app once, then the home menu disappears. Only then I can tap a button again to actually trigger the gesture. Hope that helps for resolving.
0
0
475
Jul ’23
If project uses universal (arm6, arm7, and simulator) static frameworks made by himself, It will be rejected?
Hi ^^If project uses universal (arm6, arm7, and simulator) static frameworks made by himself, It will be rejected?I know we can use static library.. But how about static framework ???Is it allowed to use ?And How Apple van review project with custom library ?Because code inside library is not shown, right ?Thanks 😎
0
0
122
Nov ’15
how is the full path for e.g. embedded binaries determined?
I am completely at a loss here. I am trying to understand how XCode generates the paths to files I cross link between Projects.I have a Workspace with 3 Projects, of which Project 3 generates 2 Frameworks and the other two, Project 1 and 2, use one each.So far, I think I understand that, depending on the selected build target, XCode shows available files throughout the workspace in red or black, depending on their availability in relation to the current build configuration.For example: Choosing iPhone Simulator for Project 1 in Release Mode as the build target shows a path of both frameworks in Project 3 ending in Release-iphonesimulator. Changing to Debug Mode, their paths also change in replacing Release with Debug.So far, that's all understandable, the problems start when embedding a framework from Project 3 into Project 1 or 2. In doing so, the embedded framework pops up in the navigator and as an entry unde
2
0
1.1k
Sep ’16
Reply to Framework does not load on simulator
I have the similar problem and what you described is exactly what happened... the project originally worked fine for simulator but couldn't run on device, I had to manually embed my frameworks in the build phases to make it run on the device. Now the reverse problem happened: the app won't run on simulator with the wrong image error mentioned above... My workspace containing 2 primary frameworks, which reference a few 3rd party framework from pod, and an app project. The build does compile correctly, but the bundling process is problematic... What is the recommended configuration for the app to dynamically include the frameworks for device ?
Aug ’15
Custom Framework cannot build any system module
Hello,I am facing the following issue:I have a custom framework (iOS) which has dependancy of another 3 frameworks. The framework is written in Objective C. While developing with no problems at all, I recently recieved build errors:Declaration of 'jmp_buf' must be imported from module 'Darwin.C.setjmp' before it is required Could not build module CoreFoundation Could not build module Foundation Could not build module UIKit Could not build module CoreGraphicsI haven't change any system files or files from some system framework. Interesting is that If I install the framework on separate mac with the same xcode I get build success. After a while I get these errors again. 😐Screenshot-2020-05-12-at-10-29-42 — ImgBB I am also attaching a screenshot.I already tried cleaning derived data, clean build, clean build folder.. I even re-install Xcode and still the sameSometimes on real device is b
Topic: UI Frameworks SubTopic: AppKit Tags:
2
0
2k
May ’20
Build succeed but failed to install on any simulators and any devices
Hello Everyone,I hope you can help me on this issue 🙂I have a xcode project that builds on all xcode versions (6, 7, 8, 9 and 9.4). The build is always successful. But the problem is that installation failed on all devices and all simulators.The error message for any devices is : There was an internal API error.The error message for any simulators is :Installation Failed.I tried to clean the project, to delete derived data folder, to restars xcode and even the computer. But nothing resolved the issue.I also find the simulator log about the error :com.apple.dt.Xcode[11252] <Error>: installApplication:withOptions:error:: Error Domain=IXUserPresentableErrorDomain Code=1 This app could not be installed at this time. UserInfo={NSLocalizedDescription=This app could not be installed at this time., NSUnderlyingError=0x7fe7cbd9b5c0 {Error Domain=MIInstallerErrorDomain Code=4 Failed to chmod /Users/press4kids/Library/Developer/CoreSimulator/Devices/31D354C7-1D36-42D9-A08D-160A
0
0
1.5k
Jul ’18