Has anyone tries using NCSimulatorPlugin? I installed the plugin and I can see it inside ~/Library/Application Support/Developer/Shared/Xcode/Plug-ins.
But when I quit and relaunched Xcode and run my app on simulator I do not see shortcut to see Documents apps for Simulator selected.
Am I missing something?
you may need to add DVTPlugInCompatibilityUUIDs in the plugins info.plist to make it work for the current version of xcode
to get current xcode UUID:
defaults read /Applications/Xcode.app/Contents/Info DVTPlugInCompatibilityUUID
write this in terminal
Add that in the NCSimulatorPlugin's bundle info.plist file under 'DVTPlugInCompatibilityUUIDs' key
you have to add UUID of all the xcode in which you want to use the plugin
Restart the xcode and it will show popup to load the bundle and after that you should able to see the NCSimulatorPlugin in the menu
Related
Problem
I am having an issue with one of my Xcode projects (Flutter App) when incorporating Firebase Authorization into it. I need to be able to set the Bundle Identifier (in General tab, of Runner) as part of the Firebase configuration, unfortunately the field itself is "disabled".
I can not: click into it, tab in, nor update it via the info.plist file, nor update it via the Info tab.
I can: make changes to the info.plist field and the Info tab Bundle Identifier field, but they do not change/update the General tab Bundle Identifier. It remains a constant:
Bundle Identifier:
Does anyone have any idea how to resolve this issue? Or some troubleshooting to try?
Stats/Details:
Android Studio: version 4.1
Xcode: version 12.1
MacOS Catalina: 10.15.7
Firebase Auth: latest version Nov 07 2020
Other projects on Xcode do not have this problem, only this specific project is having this issue and only this project uses Firebase, however this field was disabled before I went to add Firebase.
Info.plist screen with Bundle Identifier field default
General tab with Bundle Identifier field disabled
You can try with below steps for updating bundle identifier,
project/ios/Runner.xcodeproj
right click-> Show package contents
click project.pbxproj
Search for "PRODUCT_BUNDLE_IDENTIFIER = "
set bundle identifier value there
flutter clean
in Visual Studio Code, similar to Ameer, with minor changes, this didn't happen because of firebase, so might not be the full solution to the issue above.
goto folder project/ios/Runner.xcodeproj
open folder and then click project.pbxproj
I searched for PRODUCT_BUNDLE_IDENTIFIER, there where three, one for debug, profile and release.
update the PRODUCT_BUNDLE_IDENTIFIER to be what it should be, as per appstoreconnect.apple.com (or if you have what every you want if you haven't done the apple store bundle setup yet)
saved changed, and open in xcode and all was good :)
(note - I would have put a comment but I'm not allowed to)
Make sure all bundle identifiers are the same (you may find that you've misspelled a letter in one of these PROJECT_NAME_INDETIFIERS or one letter is not the same as the other in another field).
I developed an app with phonegap, and I hate to try on a apple device. I've jailbroken my iPhone5s for try my app without pay apple.
I follow this guide, but seems does't work:
On your Jailbroken device install AppSync Unified 5.2-1 (or later)
from AngelXWind’s repo. Don’t use any other AppSync, and if you have
others, be sure to remove them. Open
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/SDKSettings.plist
and change AD_HOC_CODE_SIGNING_ALLOWED to YES. You may need to
duplicate it to the desktop, change it, save it, then drag and drop
back into the original folder because OS X let you edit the file in
place. If XCode was running, restart XCode. Change your Project and
Target settings to “Ad Hoc Code Sign” in Build Settings Tell XCode to
run app on iPhone. At this point XCode will put app on your iDevice,
but can’t debug because it can’t attach to the process. The app will
start then close immediately. You can now manually start the app on
the phone now though. To enable debugging: In your project select
File>New File Property List and create a file called
“Entitlements.plist”. Add “Can be debugged” or “get-task-allow” (both
do the same thing) and set the value to YES. Now change your Project
and Target Code Signing Entitlements (In Build Settings) to
“Entitlements.plist” (you have to type it in). Now XCode can run and
debug the app. Good luck
This is the link of the guide.
When I run app, XCode tell me "Build Success", and on top it says :"Running on Iphone". If I open detail, it say: "Preparing to install " with a loading circle. It's 20 minute that is preparing to install my app.
How can I fix this problem?
What could be the reason that I am getting wrong application name in my push notification pop up?
The only reason behind this is to misplace certificate while creating .p12 file or .pem file. Make sure you are choosing correct certificate while selecting in keychain access and following the whole process very carefully.
There are a lot of places you need to make sure the app name is correct.
Within XCode:
project and target names
target properties (right pane)
bundle name in build settings/info
project name in build settings/info
In addition, you should:
delete the Build directory
clean the project with Cmd-Shift-k
quit xcode and restart it
restart your physical ios device if you're using it for testing
delete the project directory within ~/Library/Developer/Xcode/DerivedData
in simulator, do iOS Simulator > Reset Content and Settings
I've found doing all these things works!
I am getting this error (see below)
I have had xcode installed all the time nothing has changed other than updates to trigger, is there something I can do to fix it?
Unable to locate DeviceSupport directory.
[ !! ] This probably means
you don't have Xcode installed, you will need to launch the app
manually and logging output will not be shown!
What version of iOS are you using on the device? Did it upgrade to 6.1 recently?
The problem is probably that Xcode hasn't yet downloaded what it needs to communicate with the device. If you open Xcode and look at the Organiser, you should see the status light turn green next to the device in the left sidebar.
kindly excuse if my question is very basic.
I am using Xcode 4.3.3, and when i run the application i get the icon and with bottom line with HTH. Now I have fixed something in the code, and would like to run in the iPhone, but i do not want the previous executable file in the iPhone i.e.: HTH should also be present. For that what changes do i have to do in the Xcode, so that i get one more executable in the device?
I tried changing the Targets name:
1. single click in target name
2. Close the Xcode, and restart,
but it did not work.
You must change the bundle identifier in info.plist