xcode wants to access key Xcode apple id in your keychain in xcode 9.1 - xcode9.1

#
I have tried my system password but there is no use.While opening skype also keychain popup window is coming.
I have gone through this link not working for me.
Repeated Popup: Xcode wants to access key "com.apple.dt.XcodeDeviceMonitor" in your keychain

You can solve it pasting this on your terminal and restarting xcode:
defaults write com.apple.dt.Xcode iCloudGaugeDisabled -bool YES

Related

Flutter App Running Error: Dart can not be opened, Developer can not be verified after upgrading to Catalina

I was using the latest version of Android Studio IDE for creating flutter apps. But when I upgraded from Mojave to Catalina and tried to open my flutter code on IDE it gave me an error saying:
Dart can not be opened because the Developer can not be verified
What is the reason behind the error and how can I solve the issue?
Do I have to install flutter and relative development tools from scratch again or is there any other way to resolve the issue?
Do this steps and repeat until allow all you need and stop notifications.
Solve for me.
On your Mac, choose Apple menu > System Preferences, click
Security & Privacy, then click General.
Click the lock icon to unlock it, then enter an administrator
name and password.
Select the sources from which you’ll allow software to be
installed: There should be a button that says "Allow anyway". If not
make sure you've cancelled the error dialog.
usually you will not be allowed to install the applications dowloaded form other sources .... you need to first give permissions in the system Preferences
apple-icon on left top corner > System Preferences > click Security & Privacy > then click General... now Click the lock icon to unlock it ...
2.now, you will be shown with below attached image ... click allow anyway ..
now retry installing ... you are good to go...
Disabling entire Gate Keeper is definitely not a good idea as it will result running any type of program on your system.
You can add Dart to the white list by running this in terminal:
sudo spctl --add "Path_to_flutter/bin/cache/dart-sdk/bin/dart"
You might require to reboot the system in order to apply the changes.
There are several other binaries other than Dart that may get blocked as well.
You can run GateKeeper script to fix the issue:
https://github.com/AmirKamali/Flutter_GateKeeper_Fix
I have published an article with more information how to fix this:
https://medium.com/#amir.n3t/how-to-fix-flutter-idevice-id-running-errors-in-mac-osx-catalina-7aa1f89f61aa
You can run this command to allow your mac/apps downloaded from anywhere
sudo spctl --master-disable
So who the hell is an "identified developer" if Google chooses not to be one? Something is wrong with this
i updated mac to Big sur and then got this problem.
Allowing dart in the security and privacy settings and then Deleting ...flutter/bin/cache folder solved it for me.
run flutter doctor in terminal afterwards to reinstall dart SDK
This issue can be resolved by deleting the artefacts directory and running flutter doctor once again - More Info Here
2022 update
The button is now at
 → System Settings → Privacy & Security → Scroll down to Security → Allow anyway

Xamarin.ios Error MSB6006: "codesign" exited with code 1

When trying to test my app on my device iPhone, I get the following error, I think it's something about registering my device.
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets(3,3):
Error MSB6006: "codesign" exited with code 1. (MSB6006)
(multifacturacion.iOS)
The strange thing is that this same device in another mac with xamarin if it works and with the same project.
If someone can help me with this, I have several days looking for a solution.
This went away for me after I cleaned the solution in Visual Studio.
(yes this is a complete answer, there are no citations, this is just what I did to fix it).
Open the info.plist and check "Automatic Provisioning".
Thing is, I am having this error regularily. I am working with a local developer certificate created on my Mac using a free Apple Id, but without a paid Apple Developer Membership. I am using a Windows based devloper workstation and program in Visual Studio 2019 with Xamarin.Forms 4.0. To get local deployment working again, I need to visit the general settings on my iPhone and remove my trusted account from the list of developer apps under device management which basically not only removes the account but also the app from the device.
Then I need to remove all occurances of the corresponding certificate on my Mac within the Keychain Utility and even the mobileprovision file on my harddrive located somewhere beneath my user directory.
Now I have to Start XCode on my Mac, open the project, I am working on and have it automatically "repair" the signing certificate which basically creates a new one and registers it in the Keychain. The moment I run the app from XCode, I need to always allow keychain access and on my iPhone I can see the account appear in the general settings again which I have to manually trust... again.
THEN I can open the corresponding project in my Visual Studio on my Windows Developer Workstation, rebuild and deploy the app and get no errors.
Without being able to say why, it could happen even the next time I try to build and deploy the app, that this error happens again... this is very (!) inconvenient and I didn't find any real solution for it yet...
remove your certificates from keychains and add again, close Info.plist open and fill de information on bundle singing option, that works for me, remember link your device with you provisioning.
The answer of Mephisztoe worked for me, except that I am working on Windows and you find the scheme-property in the project-settings and not in the plist-file.
Furthermore be sure that you installed fastlane (just open Extras > Options > Xamarin > Apple-Accounts and click on "install fastlane") and added your Apple-ID there.
I also deleted the certificate with the keychain-utility. That's why I had to reenter my password on the mac as I clicked on build on my windows machine.
With these steps done I can finally work again...
If the certificate of Apple developer is expired, you can get the error like "codesign", so you need to create a new certificate in Apple Developer site (https://developer.apple.com/account/), then download & install to your computer.
I have been struggling with the same issue for several days, the error came only when I tried to publish the app from my Windows VS 2019. It had no further details of why it was behaving like this.
What I changed was:
Created New Publishing Profile & Certificates
Instead of selecting Release in Configuration as suggested in this Microsoft article, I selected AppStore from the configuration.
Tried to recreate the archive and it was completed successfully.
Now when I tried to publish it, I encountered few error messages, I fixed them and submitted the app again. It worked fine.
For me, the issue was that there was a popup asking for a password on the network-attached Mac. I had to VNC into it and enter the password.
For some reason the first time I did this (and chose "always allow"), it failed again with this error, but the second time I ran it succeeded.
You'll want to make sure to have an app-specific password ready if you haven't already generated one. I have no idea why, but it prompts you for one in VS.

Xamarin.iOS ApplicationVerificationFailed: Failed to verify code signature of

why I am getting this error when I am trying to run my application in real device not simulator
ApplicationVerificationFailed: Failed to verify code signature of /private/var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.ttjwEf/extracted/DSP.IOS.app : 0xe8008016 (The executable was signed with invalid entitlements.)
error MT1006: Could not install the application '/Users/macbookpro/Documents/gitProject/DSPMobileGit/DSP.Mobile/DSP.iOS/DSP.IOS/bin/iPhone/Debug/device-builds/iphone6.2-9.3.5/DSP.IOS.app' on the device 'Mohamed’s iPhone': Your code signing/provisioning profiles are not correctly configured. Probably you have an entitlement not supported by your current provisioning profile, or your device is not part of the current provisioning profile. Please check the iOS Device Log for details (error: 0xe8008016).
here steps I did to run my app
First I created project in Xcode with same bundle name and let Xcode handle Provisioning
when I tried to run in Visual studio it dosent work
Second I create manual provisioning with wild id but it dosent work
I note something each time I set my signing identity and provisioning profile , when I back to screen I find it back to none again
may be that is the reason
Using Visual Studio for Mac 2019
First, determine whether the problem is entitlements. Find tab "Deploying to Device", and look at the full message starting with
"ApplicationVerificationFailed: Failed to verify code signature of ..."
Look for:
... The executable was signed with invalid entitlements.
In that case, see https://stackoverflow.com/a/43055084/199364.
The below answer is for the other likely situation:
... no valid provisioning found for this device.
On newer versions of Visual Studio for Mac + Xamarin iOS (or Xamarin Forms, deploying to iOS):
Connect the phone to Mac via USB cable.
Popup on phone, select "Trust" this computer.
In VS, Open Info.plist.
Make sure the "Application" tab is selected at the bottom of the pane.
Select "Automatic Provisioning".
Follow the instructions.
When successful, you'll see (below "Automatic Provisioning" radio button):
Apple ID: your-apple-id-email
Team: your-company-name-or-your-developer-name
(Green checkmark) Ready to deploy app to connected device.
IMPORTANT:
Even if you have previously setup Automatic Provisioning for a different device, you still need to open Info.plist / Application tab after attaching this new device. (After doing this once per device, you can switch which device is attached, without repeating.)
If Xcode has never seen the device before, it can take MINUTES before Xcode has validated it and attached it. See following paragraph if you'd rather see Xcode giving you a message about what its doing (and spinning a busy indicator). Won't be any faster, but is more obvious that something useful might be happening. (On older Xcodes, people have reported delays up to 10-15 minutes.)
If having trouble getting it to see your phone, google for instructions to open XCode and add your phone as a device known to XCode (XCode menu Windows / Devices and Simulators / Devices tab). That is, it may be easier to first get it working under XCode, then go back to VS, disconnect and reconnect the cable to phone, try instructions above again.
Using Visual Studio (Windows) 2022
Personally, I always FIRST get the phone|tablet recognized using XCode, connecting it to Mac. See instructions above.
Then:
Connect device to PC.
Automatic Provisioning is found in YourApp.iOS / Properties / iOS Bundle Signing.
Select Team.
if it works => "Automatic provisioning completed successfully."
OPTIONAL:
Disconnect device from PC, connect it to Mac - should be listed under "Remote Devices" in VS on Windows.
TBD: Not sure why I failed to get it to be listed as a Local Device, when it was attached to PC.
I had the same issue in a Xamarin.iOS project. I found a workaround. The reason was the update from Xamarin.Swift4 package 4.0.0.1 to 4.0.0.2.
After I downgraded back to 4.0.0.1 the issue no more exist.
I created an issue report at github: https://github.com/Flash3001/Xamarin.SwiftSupport/issues/25

Is there a how to guide for testing livecode?

I have been trying for days to get a simple app any app made in livecode to display either on my tablet, smartphone or emulator. It just doesn't work. Here is what I have done:
I have installed my sdk and pointed livecode to it in preferences.
Picked 2.3 as my version
Check my google usb drivers and they are up to date.
I followed live code's step by step and no success. I am thinking that since I am running windows 7 not a Mac, maybe this cant be done. It seems all the developers run Mac's?
I even tried to make a .apk, It made the file but " There was a problem parsing the package" once I got it on my Galaxy tab. I made sure that I checked the box to allow programs to run on my tablet. So I am still stuck.
To see if the SDK is working correctly you could try to use the Android SDK emulator first.
Open the Android SDK Manager and select the menu Tools->Manage AVDs.
There you can create a virtual Android device and run it.
If the virtual device is running you can see the virtual device under "Development->Test Target in Livecode. Select it and either select "Test" under "Development" or press the "Test" button. Does this work?
That error message means that the operating system on your device is preventing the app from being installed. The most likely reason for this is that you haven't changed the "Allow installation of apps from Unknown Sources" setting on your Galaxy Tab. There are other reasons and solutions for this error message - to see them visit Panagiotis's excellent blog post on the LiveCode website, your error message is in the fifth example
https://livecode.com/how-to-deploy-apps-to-android-devices/

How to Uninstall Nokia Connectivity Framework (NCF?) - Cannot Install Nokia SDK 1.0 for Java

My first attempt at installing Nokia SDK 1.0 for Java failed due to Avira AntiVir detected a malware on it, so I had to "ignore" the Malware and cancel the installation (which it seemed to not undoing it properly) and restart installation.
However the next installation failed while giving the following message:
Nokia Connectivity Framework(NCF) is already installed. Please uninstall NCF and press 'Ok' to proceed with installation.
At this point I am stuck. I've deleted the C:\Nokia\Tools folder entirely, and I can't find the "Nokia Connectivity Framework (NCF)" entry on "Add Remove Programs. There's not even a Cancel button (to close the installer) or Override button on this dialog box. Quite annoying. :-(
If you have a solution for this problem, please help.
(originally blogged at http://qt-mobile.posterous.com/how-to-uninstall-nokia-connectivity-framework )
I used regedit.exe to find key :
Connectivity_Framework
You will find something like :
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Nokia\Connectivity_Framework
Change it to :
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Nokia\Connectivity_Framework_no_longer
(you can undo by renaming it back, if needed)
Then just press ok, or try installing again.
I have done this on 2 computers : one running vista and the other running windows 7.

Resources