I've suddenly run into an issue when trying to build and run my app - I need to use AVFoundation and suddenly it's telling me the below message
Could not build module 'AVFoundation'
This comes a long with some other issues such as:
/Library/Frameworks/CoreMIDI.framework/Headers/MIDIDriver.h:390:83: Expected ')'
Which I find odd...
If I remove the import it of course builds and runs just fine.
I have tried several things i.e. adding it to Link Binary with Libraries, clearing derived data, cleaning the project etc etc with no luck.
I'm at a loss with this so any help would be much appreciated.
I'm running Xcode 9 and using CocoaPods - I'm also embedding some swift into my objective C code - something new to me, so could it be related to that perhaps?
Thanks in advance for any help!
Related
im trying to play a little with default css of atk4 (4.3.0.dev)
I found some instructions here: https://github.com/atk4/agiletoolkit-css#themes-and-examples
I downloaded agiletoolkit-css, as i understand i change agiletoolkit-css-master\framework\less\variables.less (add some atk-swatch-xyz for example).
But when i try to compile agiletoolkit.less from same folder i get error:
ParseError: Unrecognised input in ...\agiletoolkit-css-master\framework\less\responsive.less on line 51, column 5:
50
51 #cs();
52
I'm just trying to compile original version. Im using WinLess and SimplLess, same results.
Some guidance would be nice :) Thank you!
Agile CSS Less code is too advanced to compile it with GUI, i have tried it with several compilers with no success (different errors):
- WinLess
- SimplLess
- Crunch
- lessphp
The only way i succeded was to install node.js with less. Instructions are here:
http://pragmatictim.blogspot.fr/2012/08/developing-with-less-on-windows-getting.html
I'm trying to build an Xcode plugin using this template. As a matter of fact the template works perfectly, but the problem is that something strange happened and it stopped loading the plugin. After 3 hours of trial & error, I pinpointed the problem but I cannot get my head around this...
I have a class called MHStatement and when I build without including this class, the plugin works fine and appears in the Xcode menu bar as expected.
However, when I include the MHStatement.h and MHStatement.m files in the project and then build, the plugin fails to load.
Now the fun part is that if I rename MHStatement to Statement and build it still doesn't work.
But if I make a new interface & implementation Statement overwriting the above Statement files it works again.
Moreover, creating new classes named _MHStatement, __MHStatement, MXStatement, MBStatment, MHFatment also make it fail, but XXStatement, DDStatement, XHStatement is OK.
But when I create a class XXStatement, and refactor->rename it to MHStatement and build,
the plugin loads normally.
This is obviously some weird runtime or linking error, but I don't know how to even start looking for what exactly is happening.
I am not sure if this is reproducible by any means, so I would just kindly ask for any advice that might come to your minds.
Cheers!
EDIT
I tried creating a new class MHStatement and adding it to BBUncustify plugin. Building the plugin like this also prevents it to load, but now I'm getting this warning
objc[6278]: Class MHStatement is implemented in both /Users/marko/Library/Application Support/Developer/Shared/Xcode/Plug-ins/UncrustifyPlugin.xcplugin/Contents/MacOS/UncrustifyPlugin and /Users/marko/Library/Application Support/Developer/Shared/Xcode/Plug-ins/PluginTest3.xcplugin/Contents/MacOS/PluginTest3. One of the two will be used. Which one is undefined.
with tail -f /var/log/system.log
I ended up creating a new project from scratch, and now have 3 separate targets, a framework for the code base that actually does all the work, test cases for the framework, and a simple one class plugin target, which works fine with that setup.
I hope some day someone will be able to answer what exactly was happening, and Apple will become kinder to Xcode modding community.
Since I started using CocoaPods, I've been having weird location related messages all the time, and some arch-related ones too.
I've been trying the whole day to figure out why it was happening, until I create a new Xcode project from scratch and realize the issue wasn't project-related all along.
Here's what's happening:
I always get those everywhere as well:
Not sure if related but I get those often too:
Anybody has those as well? What should I do?
Thanks!
I had to switch Build Active Architectures Only for debug to Yes and it let the build run.
I was trying to run the codes i have got from codeproject http://www.codeproject.com/Articles/239849/Multiple-face-detection-and-recognition-in-real-ti .The code build fine but during runtime that it is throwing Emgu.CV.CvInvoke Error. And the code stops at the point where i initialize HaarCascade classifier.I did all configurations fine according to the tuitorials given here http://fewtutorials.bravesites.com/entries/announcements/-level-0-emgucv-installation-guide-for-64-bit-windows-users and i have tried other sample code including face detection code.They all work fine.
!C:\Users\sizusuzu\Desktop\Capture.PNG!
Can anyone help me?
I believe you problem lies as per the comments in this link http://www.emgu.com/forum/viewtopic.php?f=4&t=2910
I had same problem after compiling and building installer then running installer on different machine. You really need the OpenCV references as per the link...hope that helps
So it's my first time to try and use jsonkit. I've been looking for the past hour and couldn't find any installation instructions so I just tried copying and pasting the files and then adding them into the xcode project and then import them. But when I compile it would throw a dozen errors, which would usually have ARC restrictions on it. One of these errors has this :
JSONKit does not support Objective-C Automatic Reference Counting
With that said, are there any specific instructions I need to follow for this to compile properly? Or maybe point me to the right direction?
Thanks!
This is Happening because here you are mixing the non-arc Code in ARC Code,that's why this error is coming.You can use below idea of mine and it works fine , have used the same in past
.
Hey You can Disable ARC for JSON classes by just set a flag in under the Build Phases of App setting.
and the flag is
-fno-objc-arc
As Below Image depicts the Way how to do this.
It would work with charm..!!!!