My team recently renamed the project of an Objective-C iOS app in Xcode and we've determined a larger problem to be the cause of the .mom file within the momd directory to be named wrongly.
Example (not real names):
Our project used to be named "ChinaTown", but was renamed to "Chinatown". Thus inside the Chinatown.momd directory is a ChinaTown.mom file.
How can we ensure that the .mom file within the momd directory is of the correct name and case?
Fixed by recreating the data model and deleting the old one. Reference stackoverflow thread
Related
I'm quite new in iOS development and I'm observing that next to the root folder of my project (let's say its name is 'Foo') another folder is created with a cryptic name (like 'Foo-gobovuchatrabdsdfg...'). In it some information about builds and simulator debugging is stored.
How can stop Xcode creating that folders or if not possible, how can I specify a different path for that folder?
The folder with a cryptic name is your derived data folder, which contains the files Xcode creates when it builds your project. If you don't want the derived data folder inside your project folder, change the derived date folder location to the default location. Refer to the following question to learn how to change the derived data location:
Xcode DerivedData folder
Something in Pentaho data-integration saves the folder of the first location it was run.
This was a problem for me because I ran it for the first time in my downloads folder and then moved it to my Program Files folder.
Specifically the folder
\data-integration\system\karaf\caches\spoon\data-1\txlog
For anyone whose problems are still not solved, you may be using a newer version of Kettle.
I had the same issue, and first followed Tyler's advice to find the file
data-integration\system\karaf\instances\instance.properties
and change the item.0.loc property from the old path to the new.
However there were still odd goings on, and this didn't fully resolve the issue.
I ended up finding one of the cache bundles (in my case bundle 15) contained a transaction.config file buried deep in the filesystem which was still pointing to the old path:
data-integration\system\karaf\caches\spoon\data-1\cache\bundle15\data\config\org\apache\aries\transaction.config
So I changed the aries.transaction.howl.logFileDir from the old path to the new, and it fixed the issue. Sneaky!
I found the file
data-integration\system\karaf\instances\instance.properties
and was able to change the line
item.0.loc
to point to my new folder.
I simply wish to change the name of a folder that lies in my root project folder.
I have changed the name of a project (say from Proj1 to Proj2).
I now have a folder on my desktop that reads Proj2. Inside is Proj2.xcodeproj and a folder called Proj1 with all of my source files and resources.
I want to change that folder to be consistent and read Proj1, however if I change it every file in my xCode proj becomes red.
Is there a technique to change this folder within xCode such that I can rename the folder and keep all my files intact with the appropriate structure (such as what groups the files are in)?
It's annoying, indeed.
However, there's no way to keep files on the hard drive (SSD, ..) and group names and the project structure in Xcode in sync automatically.
You can re-assign the locations of the files in your red folders manually to fix it.
Wish Xcode would offer a feature like this since we've switched to Xcode from MW CodeWarrior, but..
After you rename the folder, open the project in Xcode and select this folder. You can choose the renamed folder in the File Inspector Pane.
I have switched my XCode version from 3.2.6 to 5.1.1, I have been asked to change the project settings and porting to a new format and resolved many compilation errors as well.
Now there is no compilation errors i could able to build my project successfully.
When I tries to sign the project using codesign v2 (mac 10.9.5) i could see the following error
"Abc.app unsealed contents are present in the bundle root"
To Resolve I have gone through the below link and tried to create a bundle structure as mentioned in it, but i'm missing something basically I don't know what it is.
Codesign: What are unsealed contents?
My folder Structure would be similar to below, if anyone has seen discrepancy kindly mention what i need to correct.
/src/Abc/
Abc.xcodeproj
build\
doc\
English.proj
Info.plist
Installer.pmdoc
InstallScripts\
Japanese.lproj\
Libraries\
Abc_Prefix.pch
Abc.pmproj
Package\
Resource\
*.png, *.icns, *.jpg, setting.plist
Source\
Uninstall\
zh_TW.lproj\
In my experience, this error message means I've left some files in the same folder level as the Contents folder.
Everything must be inside the Contents folder.
Try moving whatever files are on the same level as the Contents folder to somewhere inside the Contents folder.
I clearly added AFNetworking by reference (notice the blue color of the folder).
Yet, xcode complain that there is no such file called AFNetworking.h
I included the folder rather than the file actually
You cannot use Xcode's folder reference for code. It's primarily used for resources. To be able to compile your code, add AFNetworking file as a group instead.