I've recently upgraded my RN version using rn-diff-purge, and immediately I'm hitting error. And eventually fixed it using this solution.
Now it works best in both Debug and Release for both iOS and Android. However, I noticed there is a new massive folder being created under ios. Specifically ios/Index.
Now I'm wondering if this is belongs to Xcode and can be safely add to .gitignore?
Related
I have recently downloaded new Xcode 11 GM Seed 2 so that i can update my project to support Dark mode. (I am already on MacOS Catalina latest beta version-19A558d).
I have my project(workspace with pods) working 100% fine with Xcode 10.2. When I have started building same project with newly installed Xcode 11 GM Seed 2, It randomly freeze while building with title Building X of Y tasks. It randomly stops building any file at anytime. As per my different observations, It stops building while it is building library from my Pods.
I have already tried cleaning, manually deleting derived data files. Also, i have tried by reinstalling Xcode. Also restarted Mac to give try. All trial get failed. If anyone faced same issue and know the solution, please post here.
Disable the Swift Optimizer for SwiftSoup:
I were trying all day hard to solve this issue. Finally issue get resolved.
Actually i tried to build/compile the app via Terminal. Then i found that it got struck/freezed while compiling the files from installed 3rd party libraries from pods. The 3rd party library named SwiftSoup was making problem. Then i removed that pod, and commented out the code related to that. And tried compiling/building the app again. And It worked successfully this time.
UPDATE:
I followed #Paul's Answer, that works without removing pod, keeping same pod and code working. Just need to update settings as described by him. But make sure, that you need to change this setting every time you update your pods.
I'm very new to developing for iOS. But I noticed that every time I make changes in unity and make a build to build it to Xcode project and then build and run it on my iPhone it keeps adding a new icon on my phone. How can I change it so that it rebuilds and deploys the app and updates the old one that was already installed, instead of adding bunch of the same icons to my phone? Thanks.
I have experience in developing with both Xcode and Unity, and as far as I know, it is not possible.
The reason being is that when developing with Xcode natively, any changes made to the project is still part of that specific project, and Xcode would treat it as a new version of the same project, and hence replace the old icon/app with the new one.
Unity however does it differently, every time Unity builds to Xcode, it essentially creates a completely new Xcode project. Despite the fact that Unity knows, just like Xcode in the previous case, that you had just made changes to the same project, Xcode, which is the one that's actually doing the building and deploying process, does not know this. All Xcode knows is that a new project was created by Unity, and it would build that, it does not know whether the current project has any correlation with the last one on the phone/simulator, since the older version is in another separate project of its own.
For my development, I just delete the old version of the app from the phone/simulator, there isn't really another way to do this.
Where did you set your app icons Unity or Xcode?. Better option set in Unity itself so all asset will manage unity.
I made the mistake of upgrading xcode and its been painful.
I'm at my wits end trying to satisfy apples demand of "Rebuilding my app using the current public (GM) version of Xcode and resubmitting it."
some details Xcode 7.0.1 - Invalid Swift Support - cocoapods HOW TO FIX?
As far as I know I'm using the current public (GM). I'm using version 7.0.1 (7A1001), please someone tell me if thats not the current public (GM).
I've tried just about every "solution" here, the error still persists.
Now I'm down to reinstalling xcode as a last grasp.
Of course this process is cloaked in mystery, how do you go about "reinstalling" xcode? I've heard that xcode has a "large footprint" so it's just not a matter of trashing the app, is it?
Yes, it is just a matter of trashing the app and re-installing the older app.
Delete the Xcode, empty the trash. Make sure you get all copies, even ones outside the Applications folder.
Either get a fresh versio from the Apple app store or get an older version from the downloads.
To get the older version 6.4 from: https://developer.apple.com/downloads/ You will need to sign-in with your developer id.
I was developing an app in Xcode and everything was working just fine. I went to shut off my network on my Mac to try and simulate 'No Network' so I could test a setting I had just set using the Phonegap.js.
I suddenly got a SIGABRT notice and can no longer run the app on my iOS simulator. It builds just fine. This has happened to me before under different circumstances.
I have found that all I have to do is paste the same code into a new project and all is well. So it appears to not be a code issue.
I've researched it and found that many people around the web are reporting it but I could not find where anyone successfully fixed it.
That is why I was hoping that someone on StackOverflow might have seen this before and know how to fix it.
I did come across a suggestion to remove a line our of your plist info file but that was for an iPad target and I am targetting the iPhone (but I still tried it and it didn't work either way).
XCODE 4.2, PhoneGap 1.3.0, iPhone 5.0
I am about 99% convinced that it has to do with a bug in XCode and ARC.
i started developing an hybrid app using phone gap and jquery. while the
android app is working quite fine, except some performance and usability issues according
effects - like page transitions-, i tried to "port" this app to an iPod touch running iOS 4.3!
calling the camera, the photo library or accessing the filesystem stopped working, and actually i experienced that even the listener for checking if the device got ready stopped working.
well what happened? actually the hooks in the window-object for accessing the filesystem or other features are not available on iOS.
.... ???
thanks in advance
Make sure you are linking to the correct phonegap.js file. Although they are all titled the same, each OS has a different version. Go into the unzipped directory you downloaded from phonegap's site and make sure you're using the iOS version of phonegap.js.
If you upgraded your version of PhoneGap and are still using a project that was made before you upgraded, then you should create a new PhoneGap project in Xcode and put your www folder in the new project. This worked for me.