I have a super weird issue. I'm developing an iOS-app and just recently I noticed that I can not find my app on my iPhone. It shows up in the list when searching for the app and when I try to build my app on Xcode it fails because of my app's Core Data model is different from the one I'm building in Xcode. So I need do delete my app from my iPhone but it's hard when I can't find the actual app at all.
I've tried restarting my iPhone to no avail and I have also browsed every screen in the springboard to find my app but it is just not there.
Xcode 4.5 and iOS 6.0.1
On iOS 6, when you search for an app in Springboard (the launcher), it shows the name of the folder containing the app (if the app is in a folder). That might help you find it.
But if you've installed the app using Xcode, there's an easier way to delete it. Choose Window > Organizer from the menu bar, then click the Devices tab in the Organizer window. Find your device in the list of devices and click the “Applications” row under your device. The Organizer will show you a list of all the apps you have installed on the device using Xcode. You can click on an app in the list, then press the delete key on your keyboard, or click the Delete button at the bottom of the window, to remove the app from the device.
Related
I have changed my code a lot of times. Is there any command like "npm run watch" for watching real time changes and compile the code and design preview in react-native for android?
I assuming you are wanting to use 'Live Reload' or Hot Reload.
Every time you update your Javascript code, the app will automatically update without the need to reload manually. Here's how to enable and also some notes on what the differences are.
Docs: http://facebook.github.io/react-native/docs/debugging
Accessing the In-App Developer Menu
You can access the developer menu by shaking your device or by
selecting "Shake Gesture" inside the Hardware menu in the iOS
Simulator. You can also use the ⌘ + D keyboard shortcut when your
app is running in the iOS Simulator, or ⌘ + M when running in an
Android emulator on Mac OS and Ctrl+M on Windows and Linux.
Alternatively for Android, you can run the command adb shell input
keyevent 82 to open the dev menu (82 being the Menu key code).
Reloading JavaScript
Instead of recompiling your app every time you make a change, you can reload your app's JavaScript code instantly. To do so, select "Reload" from the Developer Menu. You can also press ⌘R in the iOS Simulator, or tap R twice on Android emulators.
Automatic reloading
You can speed up your development times by having your app reload
automatically any time your code changes. Automatic reloading can be
enabled by selecting "Enable Live Reload" from the Developer Menu.
You may even go a step further and keep your app running as new
versions of your files are injected into the JavaScript bundle
automatically by enabling Hot Reloading from the Developer Menu. This
will allow you to persist the app's state through reloads.
There are some instances where hot reloading cannot be implemented perfectly. If you run into any issues, use a full reload to reset your app.
You will need to rebuild your app for changes to take effect in certain situations:
You have added new resources to your native app's bundle, such as an
image in Images.xcassets on iOS or the res/drawable folder on Android.
You have modified native code (Objective-C/Swift on iOS or Java/C++ on
Android).
I am facing weird problem in one of my application.
When app is in development, everything is working fine. I have install app in device by various ways :
Directly connect device and installed
Create .ipa and connect device and install via Devices and Simulators by dragging
Create .ipa and installed via Diawi
In all above case app working fine.
But when I am download from iTunes :
Live app
TestFlight App
It causes problem.
Now problem is :
App has listing screen (e.g : User's list, Property list).
Click on any cell, it will redirect to details screen.
Now details screen has one button at bottom right corner
Click on button, will open action sheet with some options
Click on Cancel, screen becomes slight dark and freeze, unresponsive.
But it is only happen when download app from the iTunes Connect. This is only happen on this - single screen. All other working fine. Whole app is also working fine.
Please note that I am using :
Default action sheet (UIAlertController) with type UIAlertControllerStyle.actionSheet
Default UITextView
Default UIButton
Swift 3.*
Xcode 9.2
iOS 11.*
Please help me to solve this out. I can't get any clue. This is really strange issue.
I have an application with FinderSync extension support.
I want to achieve silent update for this application. The only approach that I came up with at this moment, is installing the new version of the app into ~/Library/Application Support/../..., and whenever clicks the app from /Applications, redirect the user to Application Support one.
That means I will end up with two versions for the same app. One in /Applications and the other one in Application Support.
I have some issues after launching the application from both above locations.
If the user first starts the App from /Applications, selects Keep in dock, closes the app, updates the app by copying the new app to App Support and after that starts the app from App Support, I will end up with two dock icons.
Whenever I start the application, the FinderSync extension is automatically installed by the OS. It can be viewed in System Preferences->Extensions. Once the user quits the app and deletes the bundle, the OS automatically deletes the extension, so is no longer available in Extensions pref pane. However if I opened the application from both above locations, deleting the app from /Applications does not remove entirely the FinderSync extension from Extensions pref pane. Only after I remove the second application(the one from App Support), the FinderSync extension is removed from Extensions pref pane.
Are there any ways to overcome the above issues?
Please note that I have another question posted on a similar topic, while attempting to get rid of the above behavior using another technique, but I gave up using that approach a while ago:
OSX two dock icons for same application
Thanks
I draged all kinds of icons. After that I can see them in small windows in "General - App Icons" but when I run a simulator and go to Home Screen, my app icon is not displayed. What is wrong?
Click "Clean" in Xcode. Then remove app from simulator. Then run app.
restart your simulator. Make sure you have proper icon for device type / resolution you are trying to simulate.
For XCode 8 I had this same problem. I had created multiple targets and in doing so had unknowingly removed all targets from membership of Assets.xcassets.
To fix it for me, I selected Assets.xcassets in the project view and then reselected all the targets that I wanted to apply my icon sets to.
I don't know what has happened to my Xcode, but since I deleted my app from the device, and tried to rerun it on my iPhone, I get this message coming from the top of the screen:
No such file or directory (/Users/spazm/Library/Developer/Xcode/DerivedData/newProject-cfjhjgezzcapwoadaivpptyywptu/Build/Products/Debug-iphoneos/proj.app/proj)
In addition, where you can select the "active scheme" (iPhone / iPhone Simulator / iPad Simulator), I used to have "iOS device", and right after plugging my device in, I would get my phone's name and everything would go sweet.
Now, I only see "iOS device" (after plugging in), and I need to select my phone manually, which seems like something went wrong here. I am not sure what.
In the xcode organizer delete "derived data"
Alternatively you can open "~/Library/Developer/Xcode/DerivedData" folder and delete derived data folders associated with your application. You also should make a clean/build.
For the second problem, again in the organizer window under devices find your device and click "use for development"
Edit: Today I have experienced again, deleting derived data did not solved the error this time. After deleting data, making a clean build, deleting the app from my device, I needed to close & reopen xcode, which finally fixed the error.
The problem was in the project file itself. Used my backup to load the old project, then manually added all the files from the bad-new-project.
Must have been some setting.
Try checking the Deployment Target for the app. I was getting this same error when trying to deploy an app that required iOS 6.0 to a device that had 5.1 installed.