i've created a local socket in my app, and i'm getting the following error when trying to send data to target process :
deny network-outbound
i've made some research and found out that in order to fix this problem on Xcode based application, i need to to set "Allow Outgoing Network Connections" checkbox in the Summary tab of the target editor.
however, i'm using Xcode 6.3.2 and i don't see such option (summery tab is also missing).
where can i get the equivalent of this checkbox?
This is Xcode 6.4, but it was the same in 6.3.2:
Related
Please i need someone to help me out of this, am new, I got these error while trying to build apk
Could not GET 'http://dl.bintray.com/jlmd/maven/com/faltenreich/skeletonlayout/2.0.1/skeletonlayout-2.0.1.pom'. Received status code 403 from server: Forbidden
along side this error:
Disable Gradle 'offline mode' and sync project
[Error .apk]
New location to toggle Gradle's offline mode To enable or disable
Gradle's offline mode, first select View > Tool Windows > Gradle from
the menu bar. Then, near the top of the Gradle window, click Toggle
Offline Mode Gradle offline button in the Gradle panel..
Please check first whether Offline mode is truly deactivated via Help / Find Action...: Type "offline mode" into the dialog and check whether "Toggle Gradle Offline Mode" is set to "Off". If it was set to "On", toggle it and try syncing again.
If this does not work, the problem might have something to do with the sunset of JCenter. Try a more current version of this library, e.g. com.faltenreich:skeletonlayout:4.0.0 which is hosted on MavenCentral (mavenCentral())and remove JCenter (jcenter()) from your repositories. Then try syncing again.
Disclaimer: Am developer of the library from the error message
I wanted to create a remote repository in my Mac server. I have installed the app, configured and started the Xcode service as per the Apple docs. But when I try to add the server to my accounts in Xcode, the server name is there, but on adding, it is giving the following error.
Unable to perform the request. CFNetwork error: The network connection
was lost. (-1005 - kCFURLErrorNetworkConnectionLost)
The server is hosted on the same Mac in which I am developing.
I've run into the same issue (my server is on the LAN but it had previously been working).
I'm assuming you've got a Git repository created locally and you want to push it to the server. I'm using Xcode 8.2
The only 'solution' I've found so far is to manually create the remote from the Mac Server app (you could also do it on the command line if you want). The steps I used:
Go to the Xcode section of the Server app, select 'Repositories' on that screen, then the + button to add a repository with the name you specified.
After doing that; go back to Xcode proper and with your project selected Open the 'Source Control' menu, select your repository then click 'Configure '
In the resulting dialog, select the 'Remotes' tab
Click the '+' button and select 'Add remote...'
Another dialog comes up. For 'Name' use the same name as you did in the Server. Address should be whatever Server->Xcode reports for the repository you created (something like ssh://hostname/git/MyRepositry.git).
Click 'Add Remote'
Click 'Done'
You should now be able to push/pull between your local and remote repository.
Not the best solution, but as I say, it's the only one I've found so far. Quite a few people seem to be asking this, but none of them seem to have found better answers either. To find some of the other people reporting the problem, I used the following search term in google:
git unable to perform the request cfnetwork error the network connection was lost xcode
Just do the following steps :
1.Remove your Server from Xcode
2.Quit Xcode
3.Restart/Shutdown machine (If I don't restart/shutdown machine, unable to add server again in my case)
4.Open Xcode
5.Add Server again
This Solution works for me, but its not proper solution. It's headache to repeat the above steps every time while facing same issue, I research more on this but did not get any proper satisfactory solution.
I had a working web app in Genexus. I added identity to the id column of an existing transaction, added a new column and tried to play the web app. It keeps saying reorganization failed. Where is the log in which I can see what is going on?
You may access the output log by the menu view, other tool windows, output. After it has opened, make sure that the combo inside it is selected to "build".
I'm using Xcode 6.1, OS X Yosemite preview 8, and I'm getting the following error on code signing my app:
Command /usr/bin/codesign failed with exit code 1
Reading on Google, it seems to be linked to expired certificates/provisioning profiles. I deleted all of my certificates & profiles, created a new development certificate & profile, installed both, restarted my Mac, and I’m still getting the same error.
Can anyone shed some light on how to resolve this problem?
How about this: Try Xcode -> Preferences -> Accounts -> Choose your account, and then View Details -> Refresh (button on bottom left), Refresh again, restart XCode. Sounds like voodoo but it works for me and my team! (Posting it as answer, because it DOES work, at least sometimes and for some people. Possibly related to the weather ;) )
as of Xcode 6.3.2, here's what I did.
from main project view, click on build settings and in the search bar type in certificate, a code signing tab should pop up, I chose "dont sign code". and it worked
So I've managed to fix the issue for my particular case - in the build settings, instead of automatically detecting the certificate & provisioning profile to use, I manually set them - and it works.
In my case I was getting this error while trying to build a project I downloaded from Github for my own personal use. I just went to the build settings and told it not to sign the code.
Another gotcha I noticed is that codesign will fail if run from an ordinary ssh login session. It has to be run on a MacOSX desktop GUI shell window. This catches me every time, so I've added a line to the build script to print a message about running the script on the MacOSX GUI if codesign fails.
Delete previous provisional profile and add new provisional profile.restart the machine if still its giving an error like above. when your machine shut off then automatically your device asking for permission then select Confirm and run your code....its working.
There appears to be a bug in XCode (I'm using 7.1.1) with returning to "Signing: None" after having attempted to sign with an expired identity, resulting in this codesign error even after you've apparently removed the bad signing identity.
The project.pbxproj file retains TargetAttributes for the expired identity, and Debug and Release settings both continue to show the following instead of the original empty values:
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "Mac Developer";
This persists after cmd+alt+shift+K and closing XCode. I fixed it with a git reset (if I hadn't committed before attempting to sign, I'm not sure how I would have found this).
I had to delete all my developer certificates from Keychain Access first, then use the Preferences -> Accounts -> View Details -> Download All approach to successfully re-sign my code.
I am creating a newsstand application. the application is ready, now i am trying to upload the app in apple store using Application Loader. While uploading the zip file its showing the error message as
Unable to process application info.plist validation at this time due to a general error (1095)
I googled this in the net, but did not find the solution still.
This is clearly an Apple server issue, not an Xcode/iOS/OSX issue. Just wait patiently and Apple's servers will catch up to the traffic, or solve whatever issues they're having at their end.
If you're anxious, feel free to just sit there and restart Xcode until it works - but it's not restarting Xcode, only the time you waste that's solving the issue.
While you're waiting, run your apps in Instruments and solve some performance issues ;)
I just had this error. I waited an hour and tried again with the exact same build and it was all good. Vote for it being Apple's temporary glitch.
I had the same problem. I closed Xcode, restart my computer and it worked.
One possible problem to this is corrupted png files. The png files should not be interlaced
I found a solution to the problem.
If you're using Xcode 4+, you don't have to use Application Loader anymore. Instead you should archive your project in Xcode (Product->Archive). It will then open the organizer, where 3 buttons are displayed. Hit the submit button.
If you've created an entry for your app with Itunes Connect, you should be able to choose that from the list, and then select your distribution profile. Then hit the next button, and you should get a message, that tells you, that your app has been submitted.
At least that worked for me.
Use Application Loader.
I'm getting this a lot today.
Application Loader worked.
XCode > Project > Archive
XCode > Organizer > Distribute > Enterprise/add Hoc > Save As
Saves as YOURAPP.ipa.
Make sure Save for Enterprise Deploy remains UNCHECKED.
Download latest Application Loader.
tap 'Deliver Your App'
make sure new version in itunes connect in WAITING FOR UPLOAD state
Click on Activity... button
TIP: open Console.app to see XCode Validation errors
Click on ALL MESSAGE on list of logs on right.
Then in search enter 'XCode' or 'Application Loader'
to monitor any errors with your upload.
Note:
I did all this and still got email about missing 120x120 icons.
Forgot to update them in Build Target > General Tab
List of new icon requirements for iOS7
http://www.icenium.com/resources/forums/icenium-general-discussion/missing-recommended-icon-file
Another reason why this can happen is the duplicate product name. Despite your app names, executable names, display names or bundle IDs are different, if the product name exists in your current apps this error is gonna occur.
"The server returned an invalid response. This may indicate that a network proxy is interfering with communication, or that Apple servers are having issues. Please try your request again later.""
Reset The internet connection.
Reopen the xcode.
Set the profile again.
Clean build.
And Archive the build.
Works perfect for me (With in 5 minutes no need to wait).
Thanks
It's just the time, because you can't control Apple's Server's traffic problem, We all merely become the victim of that..So cut the long story short...
By restarting XCODE may work but everyone as in my case, i tried by restarting XCODE, SYSTEM, ROUTER and anything and everything possible, only error name had changed from "The network connection was lost" to "The request timed out" and vice Versa..!
Just think at what time less people would be accessing the sever...
PS: Only perseverance can help you in this way..keep redialing..And WAIT and WATCH:P
I solved ... :)
Please remove all your icons and splash image also remove icon Files and icons File( IOS 5 ) from info.plist and then add all your icons to app bundle ...
After this update info.plist iconFiles field add desired name of icons....
And last but not least remove Provisioning profile from developer portal and recreate it ...
Clean your build and Archive it and using Application Loader submit it to AppStore ...
it work for me and i think it may help you...
Not every time not it is Apple server issue,sometime we did some bad linking according to me :)