Changes just in Xcode 4 simulator visible - xcode4

I found a curious problem: I added a new Button to my ViewController.xib which is visible on my simulator. But when I test it on my iPhone it doesn't appear. So far I found out that no "new" changes on my ViewController appear, although I cleaned, build my project new and deleted my app on the iPhone (no changes). Does anyone have an idea how to make it visible on the iPhone?
Updateded:
I misspelled in my text above .Xib instead of .xib, so it is written right. Maybe I got a clue, why I get no changes on my IPhone: when I compare it with other projects, there is a "M" for modified on the right side of the overview. In my case I have just a "-" . So maybe something is wrong with the linking, what do you think?
Thank you and best regards!

File system on Device is case-sesitive. You must name your xib as ViewController.xib and follow the case exactly.

Related

Wierd behaviour on clicking ctrl-y in termux-linux

So basically i use emmet and coc-completions as a neovim developer in termux (it's an android app that runs linux environment). Today all of the sudden, my ctrl-y button started taking 2-3 sec to even execute. Lemme elaborate what i mean .
enter image description here
Whenever i click ctrl-y, a big "Y" letter comes on the screen and stays for 2 seconds. Which earlier didn't show up and it literally used to take half a second or less. I recall so many things i did before this happened, i am not sure what made it happened. If you have any idea please any help would be greatly appreciated.
So basically what i did is i changed the mapping of emmet code writer to tab from "". The problem now arises with tab, but i don't care as "" is working. Thanks to the guy who helped me :)

adobe premiere fails to import "one" footage, but works fine importing "two or more", why?

whenever I try to drag a file into adobe premiere timeline, the mouse pointer turns in to a "you cant do it" shape and I cannot put "one single media" in my timeline. but as soon as i choose two or more media and drag them into the time line, everything is fine. can anybody help me why this happens? its so annoying.
Is your problem for every files?
it's weird but you may try clearing cache, Go to Preferences> Media Cache and click delete.
if not works try:
restart your pc
close and reopen premiere (The most useful method)
test with other projects
and also check if you can drag it into project panel
if you can't, try another file that already worked.
hope this helps :)

UIImagePickerController shows a blank sheet in Simulator

I have this very odd situation in Xcode 12.01. In one of the simulators iPhone 11-14.0 when calling UIImagePickerController a blank screen pops-up showing no images and even the Cancel button is not visible. It looks like that the screen is not fully loading.
using the call:
PHPhotoLibrary.authorizationStatus()
I have authorisation to access the photo library as it returns status is .authorized:
This is happening for just that particular simulator and the others work as expected.
Any ideas?
Thanks
I finally erase all content and settings from the device menu and it seemed to have resolved the situation.
I was having similar issue. The solution is, upgrade your Xcode to version 12.2, this issue is resolved in Xcode(12.2).
Hop this helps.
Thanks

WatchKit Menu Items Not Displaying

I'm in Xcode 6.2 Beta 3 (Build 6C101), I've added a menu and two menu items to my Interface Controller, and created IBActions for both. I've given them titles and images, but when I run the app nothing displays.
I've read
https://developer.apple.com/library/prerelease/ios/documentation/General/Conceptual/WatchKitProgrammingGuide/Menus.html
and can't see anything about need to show menu items programatically - what am I missing?
You do not need to present the menu programmatically. The only thing you need to do is wire each button to IBActions in your Watch app extension.
The most likely issue is caching of the previous Watch app storyboard. Do a clean build and try again.
Finally, as you likely know WatchKit menus only display on a "force press". They cannot be used for the main interface of the Watch app. In the Simulator, a click and hold with the mouse will simulate a force press, and the animation will make it clear when you have done one, even in contexts where it doesn't do anything.
This was solution for me- Go to Hardware->Touch Pressure->Deep Press then try tap on watch simulator.
I have recently encountered this issue on a real device, although the menu was working as expected on the watch simulator. In my case, the problem was in SF Symbol that I've used as an image.
Everything was fixed after replacing it with an image from the assets catalogue.

Storyboard file missing

I'm new to xCode 4 and have playing with storyboards for most of the day. I was making an edit to one of the segue's and didn't realize that the entire file was selected, not just the arrow on the right side. This deleted my ENTIRE storyboard, which usually isn't a big deal as it's either still in the folder if i only deleted the reference, or in the trash if the file was actually deleted.
Strangely, it's in neither. I created a storyboard to test this out and sure enough, xCode warns "this can not be undone"....and it's gone. No where in finder or the trash bin.
Now, the weirdest part. My application is still running fine. I can't make any edits obviously as i can't bring it up, but xCode is still running fine. I've reset my computer and done everything else to clear it out but i can't my storyboard nor find it anywhere!
any help would be greatly appreciated...
jason
This happened to me as well - very alarming! However I searched for "storyboard" using SearchLight on the desktop. This found the file as the top hit! I was then able to track its location to a folder called en.lproj within the project folder and use File > Add to bring this folder back in.
Everything seemed fined except I had a problem every time I tried to delete the same image that caused the problem in the first place. The image was just sitting in a viewcontroller as a background image and each time I deleted it the whole storyboard vanished (temporarily).
So, I simply removed this viewcontroller altogether and created a new one and that worked. Much better than recreating the whole storyboard!

Resources