Reanaming xcode project having older test file - ios

I have a old project EmojiMaker and now i have renamed the project as Emoji Maker Pro.The display name, bundle id and other files have been renamed.There is a test folder with same old name,i have also renamed to new one ,but the .m file still has old filename.Will it create any issue while the project to app store?

no no any issue create for that but you verify
click on project then show in right side identify and type in select proper location of your project.. so no issue generate.

Related

"Could not locate google-services.json or GoogleService-info.plist files" iOS Project, Unity, Mac Computer

I've been trying for the past two hours to figure this thing out! So I already created a project within my Firebase account; an iOS project. Downloaded the google-service-Info.plist files.
If I click Import New Asset and attempt to search for the file.. can't added it like that, I have to drag it into my folder.
I'm aware that the file must be put within the root folder (which I have done many times now), but I still encounter the same error message.
Could not locate google-services.json or GoogleService-info.plist files"
I removed all the Firebase files (SDK), re-installed them,.. same thing..
I also deleted the GoogleService-info.plist file and downloaded a brand new one, same thing!!! enter image description here
I'm currently using Unity 2018.2.1f1, My computer: macOS High Sierra, Version 10.13.6
I have same problem.
Add IOS and Android build component for Unity. Switch to the platform Android. It resolve you problem.
Check SDK status. See in screenshot below:
This happened to me right after adding a GoogleService-info.plist to a project that only had Android support before.
Doing Assets -> Reimport All also worked for me to get past this error.
In my case I missed the step where you generate those files on Firebase.
Generate them from your Firebase console by clicking the Unity icon in your project overview page. See more complete documentation here

Firebase Cloud Messaging with Xamarin Android

I am trying to use the newly released Firebase Messaging Nuget for Android
Referring to this sample which says:
Make sure you've downloaded your own config (google-services.json file) file and added it to your app project with the 'GoogleServicesJson' build action.
I've downloaded the file & added it to the project, but can't fine the build action of type GoogleServiceJson, what am I missing?
Because of which I am getting a compilation issue at
if (GetString(Resource.String.google_app_id) == "YOUR-APP-ID") as the app is not able to find the resource string named google_app_id.
Could someone please help me understand what is missing?
Thanks
After Adding google-service.json file to your project.
Select google-service.json file and go to the property of the file.
In the Properties pane, set the Build Action to GoogleServicesJson (if the GoogleServicesJson build action is not shown, save and close the Solution, then reopen it.
enter image description here

Xcode creates wrong IPA folder structure

We normally have 'Payload' folder as root once we unarchive IPA files. However, suddenly Xcode has started creating IPAs with 'Applications' folder as root. Hence MDM is failing to locate files.
Has anyone has faced a similar issue? We are running Xcode version 6.1.
Make sure the key "LSRequiresIPhoneOS" in the info.plist has the value "YES", and make sure the key has the correct case, i.e., IPhone versus Iphone. Earlier versions of Xcode were not as picky about that.
I assume your Deployment Target is 8.0
Validate your Settings from the Editor Menu
Double check info.plist for the following entries.
CFBundleInfoDictionaryVersion | String | 6.0
LSRequiresIPhoneOS | Boolean | YES
Without it, the archive export will build an iOS IPA file with the OSX Applications folder.
I followed the steps in this post and other posts (adding CFBundleInfoDictionaryVersion and LSRequiresIPhoneOS to .plist file) but nothing worked. Here is what happened on my end:
I renamed my project and for some reason, the rename seem to "unlink" my .plist file from my project. I had to go to the project - Info tab and edit the list of parameters there. Add
CFBundleInfoDictionaryVersion | String | 6.0
LSRequiresIPhoneOS | Boolean | YES
Under
Custom iOS Target Properties
I have created .xarchive file using xcode 6.1 and then created .ipa file as per my answer here How to convert .xcarchive to .ipa for client to submit app to app store using Application Loader.
Now i have unarchieved my ipa file and it is having same folder structure as normal one, i.e. folder named "Payload" is available(no any Applications file). Also MDM is also working fine with that. Please check the way you have used, or else try this way.
Here's what I did - instead of "zipping up" the project file, go into XCode (I'n on version 7.x), and go to PROJECT >> ARCHIVE - and archive that sucker.
It auto archives as an IPA in the proper structure.
The way I did it before was by ZIPPING it up from the FINDER app, and then changing the extension to IPA -- DONT DO THAT.
Once it's archived (from within XCode), it shows up under ORGANIZER, so go there to submit it to apple as a new build.
This was my fix after half of night of trying to submit with Application Loader and it worked fine - had a dozen other issues prior to this but each issue was knocked off the list one by one, so maybe it wouldn't have submitted had I not fixed those, but the above process submitted the first time I tried it - and that was after using Application Loader probably 15 times with no dice.
I just Clean (Command + Shift + K) the project and the error has not appeared

How can I remove a binary from the XCode 6 App Submission menu?

I'm trying to submit my app for beta testing purposes (I would prefer to go the iTunes Connect distribution route). However it fails while trying to validate the .o file shown below. I would like to remove it from this list below.
I remember accidentally dragging that file outside the project in the project navigator.
Thanks.
Go to your target's build phases. In copy bundle resources, you might have some code files that shouldn't be there. Removing them fixed the issue for me.

Compilation fails in Xcode 4.6 while creating archive for adhoc distribution.

I am new to iOS. and i am trying adhoc distribution ipa file from xcode.
1) I could able compile and run the application in the iphone/ipad.
2) But when i create archive, i am getting compilation error saying 'something.h' not found.
Could someone kindly direct me what could be wrong?
1-Try to open the organizer (Window -> Organizer), then the Projects tab. Select your project then hit the delete button next to the derived data path (to the right). Confirm and let it re-index your project.
2-Go to your project folder, Press on YOURPROJECTNAME.xcodeproj and right click and go to show package contents . Leave the project.pbxproj file, but delete the project.xcworkspace file, any .pbxuser files, and the entire userdata folder.
I hope it works..
If you are putting things in a group in the XCode project navigator, and it is not an actual folder, you do not need to do Mountain/Mountain.h. You would just include Mountain.h.
When creating a group in the project navigator, by default, these are not actual folders, they are just virtual project folders, so if it is trying to see the Mountain folder and it does not exist, you will get that error.
It is weird that it will compile and run otherwise, but just give that a shot, let me know if it works.

Resources