Errors on Xcode
When I my app on the iOS simulator, no errors occur. When I run my app on a real device all these errors appear. Please help!
also.. that doesn't really explain why it would run on another computer but not this one.. Is it a feature that can only be run on the 10.7 sdk? or Lion?
Similar Messages
-
How do I fix a SIGABRT error in Xcode 4 ?
I keep getting this error in Xcode 4 when I run the app:
You stop the error from happening by fixing the error in your code that is causing the sigabrt.
Without a lot more information there is no other way to answer your question. -
Error in Xcode 6 on Mavericks 10.9.5
I've an error in Xcode 6.0.1 on OS X Mavericks 10.9.5.
When i debug, the iOS 8 simulator shows this error: Unable to boot the iOS Simulator.
After few seconds Xcode shows this other error: An error was encountered while running (Domain = DTiPhoneSimulatorErrorDomain, Code = 2)
However, the iOS 7 simulator works!!
Can anyone help me? THANK YOU!you are posting in the wrong area, for you need to post in the xCode forum. This is not a Maverick Issue
I am having the same problem, for this is how I found this posting by googling the error that it gave me. -
CVS protocol error with Xcode 3
Dear all,
I'm having a hard time getting Xcode talk to our CVS repository. While everything works fine at command line level, I get the following error from within Xcode 3:
*cvs [server aborted]: protocol error: directory '/E/CVS/repository' not within root 'E:/CVS/repository'*
CVSROOT is set to ":pserver:myname@myserver:/E//CVS/repository"
Again, when exporting CVSROOT from command line and using +cvs co+ everything is fine and also Eclipse3 is happy with the setup.
Anyone a clue?
Cheers
Mobi.Is there a UNC path you could use?
What are you using for a CVS server? Are you just using CVS and pointing it at a shared path? You can run CVSNT on a Windows server and it will provide a decent CVSROOT. You can also try running CVSNT on the Mac (I do), but I don't know if it would help if you aren't running CVSNT on Windows. It might handle that path better, I don't know.
Also, I don't remember if Xcode 3 uses its own internal CVS code or not. I know they have made changes in CVS, and not for the better. Look at your SCM settings and see if you can specify an external CVS client to use. Back in Xcode 2.5, they recommended using "/usr/bin/ocvs" if you had problems. The 'o' was for obsolete. It wasn't really obsolete though. Apple decided as of Xcode 2.5 to start using CVS wrappers again like it was 1997. I don't know what they are doing currently. I switched to CVS-NT and didn't look back. Now I only have random "file is in the way" errors in Xcode. -
Error installing XCode 4.2 on OSX 10.7.3
Hello everybody,
I'm trying to install XCode 4.2 on Lion 10.7.1 and got the following error on Console:
14/04/12 19:34:30,280
Installer
@(#)PROGRAM:Install PROJECT:Install-686.3
14/04/12 19:34:30,280
Installer
@(#)PROGRAM:Installer PROJECT:Installer-530
14/04/12 19:34:30,280
Installer
Hardware: MacBookPro8,2 @ 2.20 GHz (x 8), 8192 MB RAM
14/04/12 19:34:30,280
Installer
Running OS Build: Mac OS X 10.7.3 (11D50d)
14/04/12 19:34:30,314
Installer
Xcode Installation Log
14/04/12 19:34:30,314
Installer
Opened from: /Volumes/Xcode/Xcode.mpkg
14/04/12 19:34:49,016
Installer
IFJS: *** exception: ReferenceError: Can't find variable: SDKPresent
14/04/12 19:34:49,032
defaults
The domain/default pair of (com.apple.iPhoneSDKInstaller, showAdvancedInstaller) does not exist
14/04/12 19:34:49,084
Installer
IFJS: *** exception: ReferenceError: Can't find variable: SDKPresent
14/04/12 19:34:53,516
Installer
InstallerStatusNotifications plugin loaded
14/04/12 19:34:58,400
Installer
================================================================================
14/04/12 19:34:58,400
Installer
User picked Custom Install
14/04/12 19:34:58,400
Installer
Choices selected for installation:
14/04/12 19:34:58,400
Installer
Install: "Xcode"
14/04/12 19:34:58,400
Installer
Install: "Essentials" at path "//Developer/"
14/04/12 19:34:58,400
Installer
Install: "Xcode Toolset"
14/04/12 19:34:58,401
Installer
Install: "iOS SDK"
14/04/12 19:34:58,402
Installer
Install: "System Tools"
14/04/12 19:34:58,402
Installer
Install: "UNIX Development"
14/04/12 19:34:58,403
Installer
================================================================================
14/04/12 19:35:02,527
Installer
================================================================================
14/04/12 19:35:02,527
Installer
User picked Standard Install
14/04/12 19:35:02,527
Installer
Choices selected for installation:
14/04/12 19:35:02,527
Installer
Install: "Xcode"
14/04/12 19:35:02,527
Installer
Install: "Essentials" at path "//Developer/"
14/04/12 19:35:02,527
Installer
Install: "Xcode Toolset"
14/04/12 19:35:02,528
Installer
Install: "iOS SDK"
14/04/12 19:35:02,529
Installer
Install: "System Tools"
14/04/12 19:35:02,529
Installer
Install: "UNIX Development"
14/04/12 19:35:02,530
Installer
================================================================================
14/04/12 19:35:02,644
Installer
Configuring volume "AppleSSD"
14/04/12 19:35:02,657
Installer
Free space on "AppleSSD": 87,22 GB (87223255040 bytes).
14/04/12 19:35:02,657
Installer
Create temporary directory "/var/folders/bb/2w5n07g55mz_8xj4hxyspggr0000gn/T//Install.309EJlAkQ"
14/04/12 19:35:02,661
Installer
IFPKInstallElement (29 packages)
14/04/12 19:35:02,770
Installer
Failed install preflight: Error Domain=PKInstallErrorDomain Code=102 "The package “DeveloperTools.pkg” is untrusted." UserInfo=0x7fe8442fa520 {NSLocalizedDescription=The package “DeveloperTools.pkg” is untrusted., NSURL=../Packages/DeveloperTools.pkg -- file://localhost/Volumes/Xcode/Xcode.mpkg/, PKInstallPackageIdentifier=com.apple.pkg.DeveloperToolsLeo, NSUnderlyingError=0x7fe846807e90 "The operation couldn’t be completed. CSSMERR_TP_CERT_EXPIRED"}
14/04/12 19:35:02,774
Installer
Install failed: The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.
14/04/12 19:35:02,930
Installer
IFDInstallController 41462D30 state = 7
14/04/12 19:35:02,931
Installer
Displaying 'Install Failed' UI.
14/04/12 19:35:02,934
Installer
'Install Failed' UI displayed message:'An unknown installation error occurred.
The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.'.
14/04/12 19:35:02,934
Installer
The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.
It says: "The package “DeveloperTools.pkg” is untrusted." (???... Isn't it from Apple???)
How could I solve this issue?
This is the Error Screen:
Coul'd someone, please, help me?!?
Thanks in advance!First of all, thank you for the reply.
Undertood I've downloaded the newer version and it installed fine.
Thanks a lot! -
Compiled Error in Xcode for iphone game and other questions
Dear all,
Hi, I am a newbie of xcode and objective-c and I have a few questions regarding to the code sample of a game attached below. It is written in objective C, Xcode for iphone4 simulator. It is part of the code of 'ball bounce against brick" game. Instead of creating the image by IB, the code supposes to create (programmatically) 5 X 4 bricks using 4 different kinds of bricks pictures (bricktype1.png...). I have the bricks defined in .h file properly and method written in .m.
My questions are for the following code:
- (void)initializeBricks
brickTypes[0] = @"bricktype1.png";
brickTypes[1] = @"bricktype2.png";
brickTypes[2] = @"bricktype3.png";
brickTypes[3] = @"bricktype4.png";
int count = 0;`
for (int y = 0; y < BRICKS_HEIGHT; y++)
for (int x = 0; x < BRICKS_WIDTH; x++)
- Line1 UIImage *image = [ImageCache loadImage:brickTypes[count++ % 4]];
- Line2 bricks[x][y] = [[[UIImageView alloc] initWithImage:image] autorelease];
- Line3 CGRect newFrame = bricks[x][y].frame;
- Line4 newFrame.origin = CGPointMake(x * 64, (y * 40) + 50);
- Line5 bricks[x][y].frame = newFrame;
- Line6 [self.view addSubview:bricks[x][y]]
1) When it is compiled, error "ImageCache undeclared" in Line 1. But I have already added the png to the project. What is the problem and how to fix it? (If possible, please suggest code and explain what it does and where to put it.)
2) How does the following in Line 1 work? Does it assign the element (name of .png) of brickType to image?
brickTypes[count ++ % 4]
For instance, returns one of the file name bricktype1.png to the image object? If true, what is the max value of "count", ends at 5? (as X increments 5 times for each Y). But then "count" will exceed the max 'index value' of brickTypes which is 3!
3) In Line2, does the image object which is being allocated has a name and linked with the .png already at this line *before* it is assigned to brick[x][y]?
4) What do Line3 and Line5 do? Why newFrame on left in line3 but appears on right in Line5?
5) What does Line 4 do?
Thanks
NorthHi North -
macbie wrote:
1) When it is compiled, error "ImageCache undeclared" in Line 1. ...
UIImage *image = [ImageCache loadImage:brickTypes[count++ % 4]]; // Line 1
The compiler is telling you it doesn't know what ImageCache refers to. Is ImageCache the name of a custom class? In that case you may have omitted #import "ImageCache.h". Else if ImageCache refers to an instance of some class, where is that declaration made? I can't tell you how to code the missing piece(s) because I can't guess the answers to these questions.
Btw, if the png file images were already the correct size, it looks like you could substitute this for Line 1:
UIImage *image = [UIImage imageNamed:brickTypes[count++ % 4]]; // Line 1
2) How does the following in Line 1 work? Does it assign the element (name of .png) of brickType to image?
brickTypes[count ++ % 4]
Though you don't show the declaration of brickTypes, it appears to be a "C" array of NSString object pointers. Thus brickTypes[0] is the first string, and brickTypes[3] is the last string.
The expression (count++ % 4) does two things. Firstly, the trailing ++ operator means the variable 'count' will be incremented as soon as the current expression is evaluated. Thus 'count' is zero (its initial value) the first time through the inner loop, its value is one the second time, and two the third time. The following two code blocks do exactly the same thing::
int index = 0;
NSString *filename = brickTypes[index++];
int index = 0;
NSString *filename = brickTypes[index];
index = index + 1;
The percent sign is the "modulus operator" so x%4 means "x modulo 4", which evaluates to the remainder after x is divided by 4. If x starts at 0, and is incremented once everytime through a loop, we'll get the following sequence of values for x%4: 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, ...
So repeated evaluation of (brickTypes[count++ % 4]) produces the sequence: @"bricktype1.png", @"bricktype2.png", @"bricktype3.png", @"bricktype4.png", @"bricktype1.png", @"bricktype2.png", @"bricktype3.png", @"bricktype4.png", @"bricktype1.png", @"bricktype2.png", ...
3) In Line2, does the image object which is being allocated has a name and linked with the .png already at this line *before* it is assigned to brick[x][y]?
Line 2 allocs an object of type UIImageView and specifies the data at 'image' as the picture to be displayed by the new object. Since we immediately assign the address of the new UIImageView object to an element of the 'bricks' array, that address isn't stored in any named variable.
The new UIImageView object is not associated with the name of the png file from which its picture originated. In fact the UIImage object which inited the UIImageView object is also not associated with that png filename. In other words, once a UIImage object is initialized from the contents of an image file, it's not possible to obtain the name of that file from the UIImage object. Note when you add a png media object to a UIImageView object in IB, the filename of the png resource will be retained and used to identify the image view object. But AFAIK, unless you explicitly save it somewhere in your code, that filename will not be available at run time.
4) What do Line3 and Line5 do? Why newFrame on left in line3 but appears on right in Line5?
5) What does Line 4 do?
In Line 2 we've set the current element of 'bricks' to the address of a new UIImageView object which will display one of the 4 brick types. By default, the frame of a UIImageView object is set to the size of the image which initialized it. So after Line 2, we know that frame.size for the current array element is correct (assuming the image size of the original png file was what we want to display, or assuming that the purpose of [ImageCache loadImage:...] is to adjust the png size).
Then in Line 3, we set the rectangle named newFrame to the frame of the current array element, i.e. to the frame of the UIImageView object whose address is stored in the current array element. So now we have a rectangle whose size (width, height) is correct for the image to be displayed. But where will this rectangle be placed on the superview? The placement of this rectangle is determined by its origin.
Line 4 computes the origin we want. Now we have a rectangle with both the correct size and the correct origin.
Line 5 sets the frame of the new UIImageView object to the rectangle we constructed in Lines 3 and 4. When that object is then added to the superview in Line 6, it will display an image of the correct size at the correct position.
- Ray -
Hey there,
I just got the following error message in XCode:
Uncaught Exception:
* -[XCActionManager buildAndGo:]: unrecognized selector sent to instance 0x2883bf0
Stack Backtrace:
The stack backtrace has been logged to the console.
I think is is related to a recurring problem I've been having where my application will be working fine, and compiling fine, and then randomly when I run it it will give me a black screen on the simulator, and throw a pile of errors in the console. The thing that strikes me as very strange about this is if I revert to a previous snapshot it STILL doesn't work. I suspect that this might have something to do with when Time Machine is running, and last time it happened I turned off Time Machine and then "Touched" all my project files, and it got better, but then it stopped working again 10 minutes later...
Any advice/input on what may be happening?
I'm thinking of reinstalling the developer tools, unless someone has a tip on what this might be. While it's possible that it's some code I'm writing, or some corrupted file, I wouldn't know how to go about tracking it down...Welcome to Apple Discussions, Zen-X!
For this question, you might want to try the Free Pascal discussion boards:
http://community.freepascal.org:10000/bboards/ -
Appstore Error Downloading Xcode 4.2
Have made many attempts at downloading Xcode 4.2 from Appstore but always fails with message "Error has occured". I've trolled tons of forums on Apple and other sites and attempted just about all remedies I could find from new DNS's, Clearing Cache, Clearing Preferences, differnt modems etc. Always comes back to the error on the screen shot. Can still download other apps from the store with no problem. Just seems to be Xcode.
01> Click to install then says "Waiting"
02> Go to "Purchases and shows it's Paused, hit resume
03> Says downlading 0.1/8G but never downloads a thing
04 Then error message
Any ideas as to why I can't download or fixes I can try. Frustrated and any help is greatly appreciated. Thanks...MilesFirst of all, thank you for the reply.
Undertood I've downloaded the newer version and it installed fine.
Thanks a lot! -
Internal Checkout Error using Xcode Continuous Build Service
I'm trying to use the new Xcode service in Mavericks' Server Version 3 to setup continuous build for a git repository on BitBucket. I've been unable to get it to work successfully. Currently, The Build Agent Logs section shows the following error:
Oct 30 10:02:11 Robot2.local xcsbuildd[72534] <Debug>: [CSRemoteServiceProxy.m:79 7a566310 +0ms] Received successful response.
Oct 30 10:02:11 Robot2.local xcsbuildd[72534] <Info>: [CSConfig.m:55 7a566310 +0ms] Reading plist at /Library/Server/Wiki/Config/collabd.plist
Oct 30 10:02:11 Robot2.local xcsbuildd[72534] <Debug>: [XCSBuildHelper.m:97 7a566310 +0ms] Updating bot run with GUID 7163a252-b3c2-4fca-b9e3-d6128dbb9db4
Oct 30 10:02:11 Robot2.local xcsbuildd[72534] <Debug>: [XCSBuildHelper.m:102 7a566310 +0ms] Updating bot run (7163a252-b3c2-4fca-b9e3-d6128dbb9db4): {
guid = "7163a252-b3c2-4fca-b9e3-d6128dbb9db4";
status = failed;
subStatus = "internal-checkout-error";
Does anyone know what this error means or how to get more information about what's going wrong?
Perhaps relevant: under the Source Control Logs section, it looks like the checkout worked fine:
Checking out files: 100% (5570/5570), done.
done
SSH Known Hosts file path is located at /Library/Server/Xcode/Config/ssh_known_hosts
SSH strict host checking is disabled (you can enable this by editing the SSHStrictHostKeyChecking key in /Library/Server/Xcode/Config/xcsbuildd.plist
Untrusted HTTPS certificates is enabled (you can disable this by editing the TrustSelfSignedSSLCertificates key in /Library/Server/Xcode/Config/xcsbuildd.plist
9373dd12aae68843938144663d4a1c578481447d refs/heads/master
SSH Known Hosts file path is located at /Library/Server/Xcode/Config/ssh_known_hosts
SSH strict host checking is disabled (you can enable this by editing the SSHStrictHostKeyChecking key in /Library/Server/Xcode/Config/xcsbuildd.plist
Untrusted HTTPS certificates is disabled (you can enable this by editing the TrustSelfSignedSSLCertificates key in /Library/Server/Xcode/Config/xcsbuildd.plist
The SSH lines seem to be informational rather than indicating an error. However, I've tried changing the mentioned keys without any effect, though note that Xcode says that TrustSelfSignedSSLCertificates is enabled on one line and disabled on a later line, referring to the same config file in both cases.I just had the same problem, and there is a number of things you can check:
Make sure the specified branch is pushed to the repository
Make sure the scheme you selected is shared
Make sure the scheme info is pushed to the repository
In my case, someone put `xcshareddata` in .gitignore, so the scheme I selected wasn't available to the bot.
Hope this helps someone. -
I'm trying to install the latest XCode from the App Store on a used MacBook Pro running OS X Lion with all the latest updates. The app appears to download then I get a message "An error occurred while extracting files from the package "mzm.rdaenqgx.pkg"
Any ideas? I've retried several times over both my wireless network and connecting the Mac to the wireless router via Cat5. Both have the same result.First of all, thank you for the reply.
Undertood I've downloaded the newer version and it installed fine.
Thanks a lot! -
Internal error on xcode 2.5 when creating new project
I just installed xcode 2.5 on a MacBook Pro running 10.4.11. I get the following error message when
creating a new project (existing projects open fine):
Uncaught Exception:
* -[TSFileManager supportFilesRootPath]: selector not recognized [self = 0x360220]
Stack Backtrace:
The stack backtrace has been logged to the console.
This is the backtrace from console:
2007-12-31 14:54:49.951 Xcode[516] * -[TSFileManager supportFilesRootPath]: selector not recognized [self = 0x360220]
2007-12-31 14:54:49.956 Xcode[516] Exception raised during posting of notification. Ignored. exception: * -[TSFileManager supportFilesRootPath]: selector not recognized [self = 0x360220]
2007-12-31 14:55:01.145 Xcode[516] * -[TSFileManager supportFilesRootPath]: selector not recognized [self = 0x360220]
2007-12-31 14:55:01.244 Xcode[516] ** INTERNAL ERROR: Uncaught Exception **
Exception: * -[TSFileManager supportFilesRootPath]: selector not recognized [self = 0x360220]
Stack:
0 0x9e23deb1 -[TSException raise]
1 0x92852243 +[NSException raise:format:]
2 0x928da4c6 -[NSObject doesNotRecognizeSelector:]
3 0x927fe327 -[NSObject(NSForwardInvocation) forward::]
4 0x90a5ccbd _objcmsgForward
5 0x94d6cced +[NSBundle(TSBundleAdditions) searchPathsForSupportFilesWithSubpath:]
6 0x9eaf3ed4 -[PBXWizardChooserWizard addWizardProxiesFromDefaultSearchPaths]
7 0x00009c8e
8 0x93383db8 -[NSApplication sendAction:to:from:]
9 0x93431d0b -[NSMenu performActionForItemAtIndex:]
10 0x93431a4d -[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:]
11 0x93362e32 __NSHandleCarbonMenuEvent
12 0x93296818 __DPSNextEvent
13 0x93296072 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:]
14 0x9328fdf7 -[NSApplication run]
15 0x93283d4b _NSApplicationMain
16 0x0000a46e
17 0x0000a395
Any suggestions about why this is happening and how to correst it?
RickI had the same issue then I found out all you have to do is to set the default view to List before opening any previous or new project and it worked, credit goes to this user below who found the solution.
ahmedMac25
I was able to resolve by workaround:
1. Closed all open applications
2. relaunch Finder
3. run sudo find / -name ".DS_Store" -exec rm {} \;
4. this removes all .DS_Store old files on the computer
5. launch finder and set default view to "LIST VIEW" as shown here:http://macs.about.com/od/usingyourmac/ss/Setting-Finder-Views-For-Folders-And-Su b-Folders_2.htm
5. rerun the offending application and file chooser works -
Linker error. Xcode 3.1.3 + iPhone
Hi i'm pretty new to XCode, I am extending an example project and have had no problems until now.
A small but annoying block to my progress has turned up in trying to create and use a c++ class in my project.
I have created a .cpp and .h through the NewFile menu, the .cpp has automatically been added to the "Classes", "Compile Sources" and "Implementation Files" folders.
I have renamed the view class (that will be using the c++ classes) file to .mm (obj-c++) and included the new header file.
Everything seems to be fine, there are no compiler errors but the linker cant find any symbols for code in the .cpp file, if I inline the functions in the header file all is well but if I move them to the .cpp file then the linker baulks.
The new c++ file's object has been created and is in the same folder as the other local objects.
I have tried multiple cleans and rebuilds.
I have another other example project which use cpp files and it compiles and links fine.
Are there project settings I need to change to allow linking to *.cpp files?
Thanks, hjd_uk.Hi hjd. Welcome to the dev forum!
I would start by ruling out some of the simple errors you might have overlooked because of the unfamiliar environment.. like functions that aren't public, etc. Since you can call your inline functions from obj-C, what happens if you make an inline wrapper for one of the functions the linker can't find? That should tell you something right away. Depending on how that test goes, you might also try making another C++ class (.h + .cpp) and see if that class can call functions in the first C++ class.
I"m guessing you'll see what's going on by ignoring Xcode and just looking at the source files. If not, try to strip the project down to a minimal test bed and post the source here (in that case be sure to read the code formatting announcement, and use the Preview tab to see how your code looks).
\- Ray -
I've got the following in a simple h-file:
struct NanoTimer
unsigned long long int time_stamp;
double history[NANOTIMER_NUMHISTORY];
int first_time;
void nano_init( NanoTimer * nt );
Now, when i compile it in xcode (together with a bunch of other files), i get the error message "parse error before '*' token" for the line with the prototype.
Does anyone have an idea?
BTW: The header file gets included in a c-file.
Thanks a lot in advance for any ideas / suggestions / etc.
Best regards,
Gabriel.This is a .c, not a .cpp file, correct? You are using C++ syntax. To be valid for C, you would have to do something like this:<pre>
typedef struct
unsigned long long int time_stamp;
double history[NANOTIMER_NUMHISTORY];
int first_time;
} NanoTimer;</pre>
or maybe use your existing structure and write:<pre>
void nano_init(struct NanoTimer * nt);</pre>
My advice is to just use C++ files and use C++ syntax. Your code will still be just as fast as C. You don't have to use new, delete, and virtual if you don't want to. If you have to link with other code that requires C, just use:<pre>extern "C"</pre> -
When I run my Apps in Xcode, it show a error (signal DIGABRT) below:
+ (NSString *)relativeFilePath:(NSString *)fullFilePath
assert(fullFilePath != nil); // Ensure that the full file path is not nil
NSString *documentsPath = [ReaderDocument documentsPath]; // Get the documents path
NSRange range = [fullFilePath rangeOfString:documentsPath]; // Look for the documents path
assert(range.location != NSNotFound); // Ensure that the documents path is in the full file path
return [fullFilePath stringByReplacingCharactersInRange:range withString:@""]; // Strip it out
It is only appear on iOS 8 with iPad, It is good on iOS 7
How can I solve this???you are posting in the wrong area, for you need to post in the xCode forum. This is not a Maverick Issue
I am having the same problem, for this is how I found this posting by googling the error that it gave me. -
I'm trying to develop programs for the iphone but I'm lost at the very start. I downloaded a sample from apple's site and opened it in xcode and worked great in the simulator however when I try to build it for my actual iPhone, it comes up with an error:
"CodeSign error: no provisioning profiles found for code signing identity 'iPhone Developer'
Any ideas?You should probably post your question in the Developer forums:
http://discussions.apple.com/category.jspa?categoryID=164 -
Ignore linking errors in XCode
Hi all!
I have a library to include in my iPhone app,
the problem is that this library requires function that are in CoreServices.framework. And i cannot use the CoreServices since it will build only for the simulator.
So i've added CFNetwork.framework for some functions, but all the other functions are only , either in CoreServices.framework or in the CarbonCore.framework....
I cannot rebuild the library i'm using since the sources are not available , so the only solution would be to ignore the symbols not found and avoid to call those functions.
So how cannot ignore symbols not found ?
Or is there any other solutions ?
Thanks .Hi, thank you very much for your answer !
I tried to find the "load symbols lazily" thing in the build options, but haven't found anything (even close to)...
But i had an idea and it seems to work,
I recreated all the functions required by the library, with empty bodies of course : / !
What i did was to retype the function in a source , xcode finds it, even if the framework isn't included in the project, then right click on the function -> jump to def. and copy/paste the definition found in the header...
Create a new function with the function's def. with an empty body, or with a return if it was needed, and it builds !
Of course, i hope that none of those functions will be called in the library's functions i'm using lol....
But it's a tip that seems to work for the moment ! : )
Thanks anyway!
Message was edited by: jdebaene
Message was edited by: jdebaene
Maybe you are looking for
-
Embeded Windows Media Player: visualisations not working in Firefox
In IE my web page will play an mp3 with visualisations. In Firefox there are no visualisations, just a black screen. Can anyone tell me how to get the visualisations working in FF?
-
hii everyone I want to automate queries.i.e they should be executed automatically on a particular day in the week. can we do it through oracle jobs..actually wht the case is i will be executing 5 queries evey tuesday.the output frm these queries are
-
Sybolic accounts - GL accounts List
Hi Friends Can any one tell me where, in which table can we find the list of Symbolic accounts we defined and list of GL accounts we defined ( ofcourse related to FI module) and which symbolic account is assigned to how many GL accounts. where can we
-
Currency format and Right Align not working for messagetext in HGrid
Hi We are dynamically enabling MessageTextinput inside HGrid region, it is Number type and when we set readonly to True it become left align, and currency format also not working, I tried the below various options but nothing is working. Option : 1 O
-
How can I get network data type
how can I get network data type: ip, gatway, sub mask, and DNS on the Mac. windwos system and so go on and put cmd ipconfig / all adiquirr how can this data in mac book pro XOS. thanks, Marcello