I recently installed R on a new Macbook Pro running Mountain Lion. When trying to plot data, I get a slew of ATSFontGetFileReference errors, and text doesn't render (though chart elements do):
> plot(study$outcome, study$predictor)
Jan 21 10:55:57 tatou.local R[35029] <Error>: ATSFontGetFileReference failed: error -50.
Jan 21 10:55:57 tatou.local R[35029] <Error>: ATSFontGetFileReference failed: error -50.
Jan 21 10:55:57 tatou.local R[35029] <Error>: ATSFontGetFileReference failed: error -50.
Jan 21 10:55:57 tatou.local R[35029] <Error>: ATSFontGetFileReference failed: error -50.
...
It seems like more of an OS X issue than R, since a little Googling has turned up similar errors for PDF renderers, etc. But I can't seem to find a solution...
All my fonts as well as R appear to be installed for use system-wide. Ideas?
I had the same error using RStudio on OSX 10.7.5. I saved my workspace and then quit RStudio. Upon opening it back up and loading my saved workspace, I ran the plot(x,y) command and there was no longer an error, with the text being displayed as expected.
I don't know your font situation exactly, but I just fixed this issue on mine. I have a mac, and helvetica is automatically installed as a .dfont file. I had downloaded a helvetica.ttf file and put it in 'mac_hd/libary/fonts'. Once I deleted this and restarted R I haven't had the problem. My error was verbatim ' ATSFontGetPostScriptName failed: error -984. ' (I included that to help with google results)
Related
On my new mac studio with macOS 13 (Ventura), I cannot get phonemes from text. startSpeakingString is working well, but phonemesFromText always returns nil. From the console log:
NSSpeechSynthesizer: [NSSpeechSynthesizer phonemesFromText:] - Error
-50
[aqme] AQMEIO_HAL.cpp:736 kAudioDevicePropertyMute returned err
2003332927
I reinstalled the system, but the problem remains. Any ideas?
Opening a SwiftUI "Hello World" unaltered project in Xcode 11 beta 5 running on Catalina beta 4 produces a "Loading a plug-in failed" dialog warning.
Has anyone else experienced this or know how to solve it? I deleted Xcode, redownloaded it, reinstalled it and I'm still getting the same error.
No idea how to fix other than deleting the offending module, but that can't be right.
Error details:
Details
Loading a plug-in failed.
Domain: DVTPlugInErrorDomain
Code: 2
Failure Reason: The plug-in “com.apple.dt.UVKit” at path “/Applications/Xcode-beta.app/Contents/PlugIns/UVKit.framework” could not be loaded. The plug-in or one of its prerequisite plug-ins may be missing or damaged.
Recovery Suggestion: The plug-in or one of its prerequisite plug-ins may be missing or damaged and may need to be reinstalled.
User Info: {
DVTPlugInDYLDErrorMessageErrorKey = "dlopen(/Applications/Xcode-beta.app/Contents/PlugIns/UVKit.framework/UVKit, 0): Symbol not found: _$s2IDs12IdentifiablePTl\n Referenced from: /Applications/Xcode-beta.app/Contents/PlugIns/UVKit.framework/UVKit\n Expected in: /usr/lib/swift/libswiftCore.dylib\n in /Applications/Xcode-beta.app/Contents/PlugIns/UVKit.framework/UVKit";
DVTPlugInExecutablePathErrorKey = "/Applications/Xcode-beta.app/Contents/PlugIns/UVKit.framework/UVKit";
DVTPlugInIdentifierErrorKey = "com.apple.dt.UVKit";
NSFilePath = "/Applications/Xcode-beta.app/Contents/PlugIns/UVKit.framework";
}
--
The bundle “UVKit” couldn’t be loaded.
Domain: NSCocoaErrorDomain
Code: 3588
Failure Reason: The bundle couldn’t be loaded.
Recovery Suggestion: Try reinstalling the bundle.
User Info: {
NSBundlePath = "/Applications/Xcode-beta.app/Contents/PlugIns/UVKit.framework";
NSDebugDescription = "dlopen(/Applications/Xcode-beta.app/Contents/PlugIns/UVKit.framework/UVKit, 265): Symbol not found: _$s2IDs12IdentifiablePTl\n Referenced from: /Applications/Xcode-beta.app/Contents/PlugIns/UVKit.framework/UVKit\n Expected in: /usr/lib/swift/libswiftCore.dylib\n in /Applications/Xcode-beta.app/Contents/PlugIns/UVKit.framework/UVKit";
NSFilePath = "/Applications/Xcode-beta.app/Contents/PlugIns/UVKit.framework/UVKit";
}
--
I was able to get my SwiftUI project running on Catalina beta 4 with Xcode beta 5. I too got the warning mentioned by OP.
And as mentioned in comments, the only negative impact I've seen is being unable to use the preview canvas. Other than that, everything else in my project is running well. Just using the simulator more ;)
Problem is gone on Catalina build 19A558d when installing Xcode 11 GM Seed (build 11A419c, released September 10, 2019)
this will get rid of the error message but will not bring canvas back.
based on:
https://forums.developer.apple.com/thread/120614
Please go to: /Applications/Xcode-beta.app/Contents/PlugIns/UVKit.framework and delete all the shortcut files in all folders of UVKit.framework (Be sure DONOT delete orginal files).
I have been having this issue for quite some time and have been unable to fix this. About 90% of the time, my watch app fails to install on the device. The App will show installation to about 80% completion, then fail and quit, providing this error in the
iPhone debug log console
<Error>: 0x4029b000 __106-[ACXCompanionSyncConnectioninstallWatchAppWithBundleID:withProvisioningProfileInfo:completionWithError:]_block_invoke_3: Failed to install app com.mea.AppName.watchkitapp : Error Domain=ACXErrorDomain Code=17 "Got error 17 in install done from remote side (MI error ApplicationVerificationFailed ; Extended 0xe8008017 ; Desc Failed to verify code signature of /private/var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.eC3skb/extracted/Payload/Watch.app/PlugIns/Watch Extension.appex : 0xe8008017 (A signed resource has been added, modified, or deleted.))" UserInfo={FunctionName=-[ACXServerInstallOperation receivedDictionaryOrData:], SourceFileLine=524, NSLocalizedDescription=Got error 17 in install done from remote side (MI error ApplicationVerificationFailed ; Extended 0xe8008017 ; Desc Failed to verify code signature of /private/var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.eC3skb/extracted/Payload/Watch.app/PlugIns/Watch Extension.appex : 0xe8008017 (A signed resource has been added, modified, or deleted.))}
Watch Debug Log Console, these errors are thrown.
Verification stage failed
Jul 21 09:46:59 Andrews-AppleWatch appconduitd[104] <Error>: 0x1f084000 __MobileInstallationInstallForLaunchServices_block_invoke222: Returned error Error Domain=MIInstallerErrorDomain Code=13 "Failed to verify code signature of /private/var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.eC3skb/extracted/Payload/Watch.app/PlugIns/Watch Extension.appex : 0xe8008017 (A signed resource has been added, modified, or deleted.)" UserInfo={LibMISErrorNumber=-402620393, LegacyErrorString=ApplicationVerificationFailed, FunctionName=+[MICodeSigningVerifier _validateSignatureAndCopyInfoForURL:withOptions:error:], NSLocalizedDescription=Failed to verify code signature of /private/var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.eC3skb/extracted/Payload/Watch.app/PlugIns/Watch Extension.appex : 0xe8008017 (A signed resource has been added, modified, or deleted.), SourceFileLine=142}
Because of these pod frameworks (which apparently have been modified) that I am using in my watch extension.
SecTrustEvaluate [leaf IssuerCommonName SubjectCommonName]
Jul 21 09:46:58 Andrews-AppleWatch installd[35] <Notice>: MIS: resource modified: /private/var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.eC3skb/extracted/Payload/Watch.app/PlugIns/Watch Extension.appex/Frameworks/Alamofire.framework/Alamofire
Jul 21 09:46:58 Andrews-AppleWatch installd[35] <Notice>: MIS: resource modified: /private/var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.eC3skb/extracted/Payload/Watch.app/PlugIns/Watch Extension.appex/Frameworks/Realm.framework/Realm
Jul 21 09:46:58 Andrews-AppleWatch installd[35] <Notice>: MIS: resource modified: /private/var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.eC3skb/extracted/Payload/Watch.app/PlugIns/Watch Extension.appex/Frameworks/RealmSwift.framework/RealmSwift
Jul 21 09:46:58 Andrews-AppleWatch installd[35] <Notice>: MIS: resource modified: /private/var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.eC3skb/extracted/Payload/Watch.app/PlugIns/Watch Extension.appex/Frameworks/SwiftyJSON.framework/SwiftyJSON
Now, I understand that this has to do with code signing (right?), but how do I go about updating or verifying the correct code signature?
I see that other people have had a similar issue by having a non-alpha/non-numeric symbol in their Product Name, however, my Product name is AppNameWatch, and AppNameWatch Extension. Apple generates the Extension file with the space character in-between AppNameWatch and Extension, so I assume that that is fine and not the cause of the problem.
I have also tried cleaning/re-building/cleaning the build folder and deleting derived data.
Any help would be greatly appreciated, thank you.
EDIT/UPDATE:
Looks like this is an issue related to cocoapods. After moving all my frameworks to be managed by Carthage, the app is installing and running as it should with no errors related to modified resources.
I was having the same problem after I updated my project to use dynamic frameworks through CocoaPods. I had to go to the WatchKit Extension and change Embedded Content Contains Swift Code to Yes. Now the app builds and installs fine.
I have been pulling my hair out trying to install Security Update 2015-006 on my MacBook7,1. Tried AppStore 3x, no go. Downloaded standalone Installer and tried this one 5x. Same result every time. Gets all the way through 95+% to the point where it's simply cleaning up and then it just falls with:
The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.
In the system log:
Sep 8 18:30:20 MacBookPro71.local Installer[1022]: CoreAnimation: warning, deleted thread with uncommitted CATransaction; set CA_DEBUG_TRANSACTIONS=1 in environment to log backtraces.
Sep 8 18:30:20 MacBookPro71.local Installer[1022]: The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.
Sep 8 18:30:22 MacBookPro71.local com.apple.kextd[12]: /: kextcache has had enough tries; not launching any more
-----
I've already tried deleting the contents of /Library/Updates and /var/folders which has worked in the past but makes no difference this time.
Anybody ?
TIA !
I recently updated to Xcode 4.2. I also updated my new iPad 2 and iPod (latest generation) to iOS 5. I build my app and can debug them no problem.
My older iPod running iOS 4.2.1 (8C148) doesn't run and doesn't give any errors.
The top center panel says "Finished running MyApp on iPod One". (iPod One is the name of my first iPod touch)
There is a flicker at the bottom of Xcode as if it almost went into the debugger and was about to show the bottom output panel but it doesn't. A break point in main doesn't stop it either.
I have no errors and nothing to go on.
I have renewed all provisioning profiles, restored the device, selected "use for development", nothing has helped.
Since there is no feed back from Xcode I do not know what to do.
p.s. The app runs in all of the simulators fine as well.
When I initially select the iPod I see the following series of messages in the console for the devices as shown from the Organizer:
Thu Oct 20 09:42:49 unknown lockdownd[16] : 2ffea000
handle_connection: Could not receive USB message #6 from Xcode.
Killing connection Thu Oct 20 09:42:49 unknown
com.apple.mobile.lockdown[16] : Could not receive size of
message Thu Oct 20 09:42:50 unknown
/Developer/Library/Daemons/DTFetchSymbols[308] : Found paths:
Thu Oct 20 09:42:50 unknown
/Developer/Library/Daemons/DTFetchSymbols[308] : /usr/lib/dyld
Thu Oct 20 09:42:50 unknown
/Developer/Library/Daemons/DTFetchSymbols[308] :
/System/Library/Caches/com.apple.dyld/dyld_shared_cache_armv6 Thu Oct
20 09:42:50 unknown com.apple.mobile.lockdown[16] : Could not
receive size of message Thu Oct 20 09:42:50 unknown lockdownd[16]
: 2ffea000 handle_connection: Could not receive USB message #6
from Xcode. Killing connection Thu Oct 20 09:42:56 unknown
lockdownd[16] : 2ffea000 handle_connection: Could not receive
USB message #6 from MDCrashReportTool. Killing connection
I had the same problem, but I solved it. The cause
unsuported architecture (by default Xcode4.2 uses standard arch= armv7 ) -> add armv6
In addition to adding the armv6 architecture, I had to remove the armv7 entry from my apps info.plist "Required Device Capabilities" entry.