NSWindow fails to enter full screen with the following error:
Assertion failure in -[_NSWindowFullScreenTransition
makeAndSetupOverlayWindow],
/SourceCache/AppKit/AppKit-1138.47/AppKit.subproj/NSWindowFullScreenTransition.m:696
2012-10-26 14:42:49.171 Mitel UCC[1043:f03] Invalid parameter not
satisfying: _transitionedWindowBeforeContents != nil
The "Enter Full Screen" menu option is also disabled now.
This worked at some point from both the menu option and image in upper right hand corner of window, and suddenly just quit working (we are still coding). Note I do receive the customWindowsToEnterFullScreenForWindow delegate notification (it returns nil) but do not see the windowDidFailToEnterFullScreen notify.
Thanks in advance for any suggestions.
Related
Edit: I've updated the title and question to be more specific.
I'm having trouble getting my app to run on 14.2, it runs without issue on 14.1.
The App loads 'successfully' but I'm left with a blank white screen (assume this is the loading screen) on both simulator and physical device. I get the following error on 14.2:
2020-11-17 12:38:38.090885+0000 TestApp[5191:233822] [framework] CoreUI: -[CUICatalog namedVectorGlyphWithName:scaleFactor:deviceIdiom:layoutDirection:glyphSize:glyphWeight:glyphPointSize:appearanceName:] 'triangle.fill' called with scaleFactor == 2.000000 glyphPointSize == 0.000000 at '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/CoreServices/CoreGlyphs.bundle/Assets.car'
2020-11-17 12:38:38.091306+0000 TestApp[5191:233822] [SwiftUI] No symbol named 'triangle.fill' found in system symbol set
I'm not sure why it's stating No symbol named 'triangle.fill' as that is a valid SF Symbols icon.
Really would appreciate any guidance?
Xcode 14. I got the same issue while setting Image in Swift UI. I mistakenly provide the image name with systemName. I was loading image from Assets.
Image(systemName: "magazine-front-cover") //use only to load system image
Instead of this
Image("magazine-front-cover") //use to load Asset image
My issue was actually related to using a TabView with PageTabViewStyle. iOS14.2 doesn't seem to like it, and was throwing all sorts of errors my way. I ended up changing my app layout, removing the PageTabViewStyle, and suddenly the 'No symbol named...' error disappeared.
Same issue for me as well. My app runs great in "all" simulators, my physical iPhone 6s, iPhone X and iPad Air 2, but crashes only on my new bought iPad Pro 12.9" 2020 (all running iOS 14.2)
The strange thing is that the error appear when I use TabView in ContentView, directing me to a sub view, containing the "no symbol" mentioned in the error message. By skipping the TabView and access the sub view directly from ContentView, the sub view works great...
In addition to this, uploading the app from Xcode to iPad goes very slowly.
Turning off "Debug executable" for both "Run" and "Test" (Product/Scheme/Edit Scheme) will help on this process, and sometimes allows my app to run for a few seconds, before it freezes again.
Looking at the flutter code it seems like I should be able to run the google places modal dialog since it does a full screen thing and doesn't try and overlay on top of flutter.
However I am having an issue where the modal shows up and then disappears again immediately. I am not entirely sure how to solve this...
I am activating it with:
call.method == "openPlacesDialogModal" -> {
val code = GoogleApiAvailability.getInstance().isGooglePlayServicesAvailable(activity)
if (GoogleApiAvailability.getInstance().showErrorDialogFragment(activity, code, REQUEST_GOOGLE_PLAY_SERVICES)) {
return
}
//val intent = Intent(activity, PlacesActivity::class.java)
//activity.startActivity(intent)
var intentBuilder = PlacePicker.IntentBuilder()
activity.startActivityForResult(intentBuilder.build(activity), PLACE_PICKER_REQUEST)
placeResult = result
return
}
In the logs I get:
I/FlutterActivityDelegate(18184): onResume setting current activity to this
I/flutter (18184): Opening picker
I/FlutterActivityDelegate(18184): onResume setting current activity to this
I think it is the onResume getting back to the ActivityDelegate that is the issue.
I put this on top of a completely different activity too, which kind of works. It shows the dialog for longer. I made sure I have all the right permissions, I have the fine location, internet permissions. Do I need to setup anything else?
Thanks,
David.
Error here was that I was not setting up the google api correctly and it was erroring immediately. Had to put in some checks to look for this error so I could respond correctly to the app that an error occurred.
I have implemented finger touch authentication in my app.
in andorid it works fine in both case
but in IOS when I give non matching input it throws error and stays on same page closing fingertouch pop up.
anyone have idea about this?
please help
Sorry to ask, I have tried everything I have read online, but I keep getting the SIGABRT Error when I try to run an app.
#import <UIKit/UIKit.h>
#import "AppDelegate.h"
int main(int argc, char *argv[])
{
#autoreleasepool {
return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
}
}
Error code comes up beside the return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
line.
The debugger just states
2013-10-18 10:29:45.270 Black History Month[733:c07] *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<UIApplication 0x903f770> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key view.'
*** First throw call stack:
(0x14a3052 0xea3d0a 0x14a2f11 0x9b3032 0x924f7b 0x924eeb 0x93fd60 0x23291a 0x14a4e1a 0x140e821 0x23146e 0x233010 0x1314a 0x13461 0x127c0 0x21743 0x221f8 0x15aa9 0x138dfa9 0x14771c5 0x13dc022 0x13da90a 0x13d9db4 0x13d9ccb 0x122a7 0x13a9b 0x2712 0x2685)
terminate called throwing an exception
I have tried producing a couple different apps and always get this error so cannot release, I have now tried a simple uiwebview app and the same thing keeps happening. I have tried running on many different deployement targets with no successful outcomes.
I have tried resetting the simulator, restarting both xcode the simulator, and computer multiple times, turned off auto layout for the xib file. No luck. Any ideas?
Thanks in advance
This has nothing to do with Xcode. Your application has thrown a run time exception. Since the exception is not caught anywhere it is poped upto main. Set an exception to All Breakpoint to figure out whats wrong. If your app worked in Xcode 4 then check the iOS deployment target. I suspect it has to do with iOS 7 which is default target in Xcode 5.
I also had this error. After spending so much time, I found how to fix it. First of all go the console and see where is the error (mine was related to storyboards and its code) The way I fixed my error was by going in story board. Below the iPhone screen, there will be small yellow button. Right click on it and you will see that is causing error. Delete(x) it if there is yellow error sign.
If this does not fix your error then try to make new project and then replace its blank files with old files of your old project. I had same error in very beginning and by doing this program run without any error.
Other people suggests by restarting your laptop and running it again, reseting the iOS simulator, or changing iOS debugger (however this does not work in latest x code since there is only one debugger)
Hope this helps
From the error message
[<UIApplication 0x903f770> setValue:forUndefinedKey:]: this class is
not key value coding-compliant for the key view.
one can see that you try to set the view property on an instance of UIApplication,
but UIApplication does not have a view property.
To find the point where the error occurs, set a breakpoint on
"All Objective-C Exceptions".
I also had this error. After spending so much time, I found how to fix it. First >of all go the console and see where is the error (mine was related to storyboards >and its code) The way I fixed my error was by going in story board. Below the >iPhone screen, there will be small yellow button. Right click on it and you will >see that is causing error. Delete(x) it if there is yellow error sign.
I would +1 Viraj's answer, but I don't have the reputation. I can verify that in a Swift project in X-Code 6, this solution works. My problem was:
My app ran great on the initial view controller and on the 2nd screen, but upon trying to load the third view controller, my app would crash and return the "SIGABRT" error.
The Fix was indeed to go to the screen where my app was crashing, right click on the yellow icon (which is ABOVE the view in my version of X Code). I had two IB Outlets assigned to views, which did not have connections to the code. I did not need them too (they were old), so I deleted both from within the Outlets inspector in the right sided attributes inspector.
When my app is launched, and I double tap on the home button to display the bottom bar containing all the running application (multitasking), My App crashes, and I have no idea where it can come from !!
Any help please ?
Ok, I found it, actually I had nothing in the stack nor in the console log, except a "Program ended with exit code: 255", but that's I quit the application in the applicationWillResignActive, using exit(-1). Thanks anyway