facebooksdk 3.1 for iOS creates weird behavior - ios

I installed the new FB-SDK - and now my xcode's acting up...
NSLog(#"...") is no longer working (and yes, I tried it even in the applicationDidFinishLaunching method).
When I add a breakpoint to the code the app crashes, with an arbitrary error...
I followed the installation guide closely (twice) and am sure I got it right...
I did move the FB-SDK Folder to another folder than it was installed by the installer, though.
The 3 Frameworks (Accounts/AdSupport/Social) are set to «optional» as I'm deploying to iOS 5.1
Any ideas?
[Edit solved]
Thanks to this guy - it's working again: http://davidbits.blogspot.ch/2012/03/ios-nslog-is-not-working-on-simulator.html
Had to delete all the app-versions on simulator and now it's working again...

Related

Unity iOS support, installation failed

I am trying to use Unity to create an iOS app. I used Unity Hub to install Unity. I then opened Unity, went to File-Build Settings. I click on iOS, and it says "No iOS module loaded", so I clicked on the "Open Download page". I downloaded UnitySetup-iOS-Support-for-Editor-2018.4.7f1 and ran it. It looks like everything is going smoothly, and right at the end I get the message in the attached screen shot.
I have tried closing Xcode and Unity. I have tried restarting my computer. I have done several Google searches, but I haven't found anything that helps. Does anyone have any ideas?
I suspect the installation path got messed up.
You have to use the Unity Hub to install additional packages.
Go to Installs, click the 3 vertical dots and select Add Modules.
I had a similar problem with tvOS support and it seems that if you don’t have Unity installed to /Applications/Unity, installing addons will fail. (I had it in /Applications/Unity-2019.4.7f1.)
I moved my Unity to /Applications/Unity, installed the addon, and then moved Unity back.
The accepted answer did not work for me.
However, what did the job (Unity 2018, Unityhub 3.4.1) was copying the installed /Applications/Unity/PlaybackEngines to the current /Applications/Unity-[2018....]/PlaybackEngines

React Native - Packager not starting

I've been going through some React Native courses and storing all my apps in a 'projects' folder. Everything has been working fine, but all of a sudden I seem to be having some issues with the packager not automatically starting up when i run react-native run-ios while I'm in the specific project's folder. The simulator pops up, but it only shows my previous apps and doesn't contain the new one I just created with react-native init new-app. I've been searching around and I can't seem to find any solution to this. Any thoughts?
This is the last line showing in the terminal:
IDEDerivedDataPathOverride = /Users/[MY_USER]/Documents/projects/new-app/ios/build
So after some digging and testing, I realize the issue is tied to the new feature in Sierra that stores your files in iCloud Drive. Not sure exactly of the specifics, but the issue was resolved when I turned this feature off.

iOS application Ad Hoc installation stuck due to wrong configuration

My application got stuck on installation due to wrong configuration on my iPhone with iOS 7. Provisioning profiles, certificates, devices everything seems ok.
I found an example of how to prepare a web page to provide a download link for your iOS application. I completed the necessary steps with one small mistake. The mistake was my appName.ipa and appName.plist was different.
As a result, the link was look like working but was installing 2 apps because of this difference. Real app finished installing but other clone that comes from the wrong .plis file never finished installing.
I'm able to install/remove application but this second clone cannot be removed even there is an (X) symbol in edit mode. When I press the (X) symbol for deleting it shows the Alert View but not deleting the clone even I press Delete or Cancel.
I tried to delete it but couldn't find a way. I currently don't have any issues installing/removing my application but it just stuck there. Is there anyone has the same problem before or any ideas?
Did you try with iPhone Configuration utility (Win) / iPhone Configuration Utility (Mac) ?
I realised the problem, it's about the Bundle Identifier difference. I created a new app with the ghost icon's bundle identifier and run it from XCode, so XCode overrode it and successfully installed the test app.

Logging suddenly stopped working in iOS app with xCode 4.6

I am using xCode 4.6. I upgraded when it first came out, with no problem.
Today, logging suddenly stopped working in my app. It has been logging no problem since I first created the app (years ago), then today it just stopped.
I have tried:
*Cleaning the project
*Deleting the derived data
*Closing and restarting xcode
*Deleting the app from the simulator
*Resetting the simulator
*Searching to see if NSLog (or DLog, as I am mostly using, though I do use some NSLog as well) was redefined somewhere (they weren't)
I have looked at other posts on this site, and they have not helped the solve the problem. I really do not know what to do from here.
You may need to choose Debug Configuration in Schema Info.

Index.html not found on PhoneGap application when testing on a device

I have created a small IPhone Application with PhoneGap (1.5), and I would now like to test it on my device.
I have set the output to my IPhone, and clicked build. The application is added, but I receive the following error when trying to run it on the phone:
ERROR: Start Page at 'www/index.html' was not found.
It works fine if I try it on the simulator, so what might I have forgotten?
I guess you could try to remove your www folder from your project and try to re-add it this way
PhoneGap application: "ERROR: Start Page at `www/index.html` was not found"
Hope it helps
I found out that there might have been an issue when I set up the application in the first place. First of all I saw that I referenced to an older version (1.4) of PhoneGap. I downloaded the newer version of the javascript component and replaced it, but it didn't help.
I then simply just created a new solution an copied the code from my old project and then it worked.
I am sorry to say that I don't know excately what went wrong.

Resources