Finder Sync extension Xcode template issue - findersync

I've tried the Finder Sync Xcode provided template, just changed the working directory, but it fails:
extension installation log shows in /var/log/system.log and the extension shows in the Pref Panes, but:
no icon overlay shows,
no program log in /var/log/system.log
/var/log/system.log reads many lines like:
Oct 23 17:46:50 Mac iconservicesagent[589]: -[ISGenerateImageOp generateImageWithCompletion:] Failed to composit image for descriptor <ISBindingImageDescriptor: 0x7f8bac3057e0>.
Oct 23 17:46:50 Mac quicklookd[15178]: Error returned from iconservicesagent: (null)
According to the code, the template should already display icon overlays, but the log is not verbose and debugging is not possible (is it?). Moreover, the NSLog calls are expected to display somewhere (otherwise why are they in the Xcode template?).
Any idea? Thanks.

Related

Xcode entitlements "com.apple.security.inherit" seems like not working

My MacOS application have a child process in its resources. I launch it up by NSTask.
In local debug, everything works well. But when I upload it to AppStore, Apple told me that my child process binary need a sandbox.
Ok, I set a sandbox to my binary, but new problem came up. The process can't run with NSTask, and the error code is 4, which means EXC_BAD_INSTRUCTION.
All the thing I found is my binary need inherit its sandbox from the parent. I set these entitlements:
com.apple.security.inherit : true
com.apple.security.app-sandbox : true
Whatever, the problem still exist.
My app content is like this:
Contents
- MacOS
- mainExecutable
- Frameworks
- theFramework
- Resources
- theToolBinary
Their relationship is:
theToolBinary need theFramework to work. theToolBinary built on CommandLineTool and signed.
So, is the "com.apple.security.inherit" not working any more? Or what's wrong with my project?

Cannot add a new app to fabric

I am unable to add a new iOS app to fabric by following the instructions of the Fabric macOS plug in.
I have followed all of the instructions found at Crashlytics documentation
When running the app, I receive this error:
2018-03-12 14:22:24.090838-0400 [19139:8550117] [Crashlytics] Version 3.10.1 (129)
2018-03-12 14:22:24.636050-0400 [19139:8550293] [Fabric] unable to complete application configure: Error Domain=FABNetworkError Code=-5 "(null)" UserInfo={status_code=422, type=2, request_id=fbc432572e6f0e10f21d2ddc24c7f272, content_type=text/html; charset=utf-8}
I have tried searching StackOverflow and following answers, but no luck avoiding this error message.
Any ideas on this error message?
I had this problem and discovered that my 'visible' (in Xcode) info.plist was not a file in my root directory, and was an out of date version from earlier development activity. I am not sure why my correct/current info.plist did not display in Xcode. I found the current info.plist in Finder (it was in the root directory in Finder, just not appearing in Xcode). I dragged the file from Finder to Xcode and accepted all the defaults in the dialog that appeared. Then I simply built and ran the current scheme and all worked as it should.
Note: It appears that for some time I have been updating the 'invisible' info.plist directly from my apps Target / Info tab.
Make sure to include all dependency then throw a force crash or runtime error and do not forget to turn on your data or internet connection.

Xcode 7 - Cannot open document (storyboard file)

I recently updated to Xcode 7 and as usual something has to go wrong. Its really a shame because I was looking forward to the new features in Xcode 7.
I am faced with a an error which I cannot seem to fix. Every time I try and build the project I get the following error:
I thought there was something wrong with my project, so I made a new Single View application and I still get the same error.
I have tried the following things but none of them has worked for me:
Restart Xcode (Didn't work).
Clean and rebuild project (Didn't work).
Restart Mac (Didn't work).
Reinstall Xcode 7 from the Mac App Store (Didn't work).
Installed Xcode 7 on a different Mac (Still got the same issue, even with a new Xcode project).
I tried the solution in this Stack Overflow question: https://stackoverflow.com/a/31614717/1598906 - But alas it did not work.
Finally, I tried the following Terminal command with no avail: $ sudo killall -9 ibtoold
Is anyone else having this issue with Xcode 7.0? And if so, have you managed to come with any other solutions? I have tried everything I can think of and nothing works.
Lastly, below is a copy of the error Log:
2015-09-18 21:09:28.416 ibtoold[1598:39510] [MT] IBPlatformTool: ***
Failed to launch tool with description
System content
1x for IBCocoaTouchFramework-EightAndLater w/ default fidelity: Failed
to find or create execution context for description
System content
1x for IBCocoaTouchFramework-EightAndLater w/ default fidelity: Failed
to find a suitable device for the type SimDeviceType :
com.apple.dt.Xcode.IBSimDeviceType.iPad-1x with runtime SimRuntime :
9.0 (13A340) - com.apple.CoreSimulator.SimRuntime.iOS-9-0 (Failure reason: Failed to create SimDeviceSet at path
/Users/daniel/Library/Developer/Xcode/UserData/IB Support/Simulator
Devices. You'll want to check the logs in ~/Library/Logs/CoreSimulator
to see why creating the SimDeviceSet failed.) 2015-09-18 21:09:38.290
ibtoold[1598:39510] [MT] IBPlatformTool: Wrote failed marshalling
request diagnostics to path:
/var/folders/lx/kkhv57fd2ll7rhdt0bwfpkb00000gn/T/IB-agent-diagnostics_2015-09-18_21-09-28_418000
/* com.apple.ibtool.errors */ /Users/daniel/Desktop/DS
APPS/BT/BloodyTest/BloodyTest/Base.lproj/LaunchScreen.storyboard:
error: Could not open document
Recovery Suggestion: Failed to connect with the iOS agent. Please file a bug report at bugreport.apple.com and attach a zip file of the
diagnostics located at
"/var/folders/lx/kkhv57fd2ll7rhdt0bwfpkb00000gn/T/IB-agent-diagnostics_2015-09-18_21-09-28_418000".
Underlying Errors:
Description: Failed to find or create execution context for description
System content 1x for IBCocoaTouchFramework-EightAndLater w/ default
fidelity
Underlying Errors:
Description: Failed to find a suitable device for the type SimDeviceType : com.apple.dt.Xcode.IBSimDeviceType.iPad-1x with
runtime SimRuntime : 9.0 (13A340) -
com.apple.CoreSimulator.SimRuntime.iOS-9-0
Failure Reason: Failed to create SimDeviceSet at path /Users/daniel/Library/Developer/Xcode/UserData/IB Support/Simulator
Devices. You'll want to check the logs in ~/Library/Logs/CoreSimulator
to see why creating the SimDeviceSet failed.
Thanks for your time, Dan.
Well thanks to the community for all there help..... not.
In the end I got it working by simply upgrading to OS X El Capitan and Xcode 7.0.1.
One thing I would point out though, is that when I was looking through the Xcode app files, some of them were corrupted and when I updated to Xcode 7.0.1 this issue was not fixed. So before installing OS X El Capitan, I deleted the following:
Xcode 7.0.1 app
Library/Developer folder
Macintosh HD/Library/Developer folder
I then installed OS X El Capitan and then installed Xcode 7.0.1 and now everything works fine.
I hope this helps anyone else who is experiencing the same issue.

XCode 6.3.2 Application Load Issue

i m using XCode 6.3.2 OX Version 10.10.3
The session's status is FAILED and the error description is failed to open ssh session (16)
error itms-90022 missing required icon file. 120X120px
error itms-90023 missing required icon file. 76X76px
error itms-90023 missing required icon file. 152X152px
i my resource/icon folder abouve three icons are exists. but application loader showing these error.
how can i solve it.
Regard's
Shahid Mahmood Khawaja
Its very easy to solve it
You need too have the correct name of the icon files
try to create your icons by this web site
or only change the name of icons to
appicon-76#2x.png
and
appicon-60#2x.png
Good luck :)
I have met this problem in Xcode 7.
When I check the Apple official documentation for the app icon:
https://developer.apple.com/library/ios/qa/qa1686/_index.html
I checked very icon and the exactly size,I have set all we can set the icon,and then clean the project and rebuild it,archive it for app store,I have solved this problem at last.

Submitting app to Apple store "Unable to find info.plist"

When i try to submit my app to the Apple store i get this error!
"Unable to find info.plist"
But the nameapp_info.plist is in the project!!!
I already send this application to the app store in the past without this error!
I upgraded to xcode 4 and to get my project work fine with the new IDE I had to re-edit my scheme app in automatic.
What I missing??? thanks
It looks like it's expecting a file called "info.plist", whereas your plist file is actually named something different... click on your project file in the Project Navigator, then click your target. Under the Packaging section is a setting for "Info.plist File." Make sure that it is set to the filename that your plist file is actually set to.