I'm new to iOS development so this may be something simple. I'm getting the error pictured when trying to compile. From what I read this can be resolved by setting Release to none under optimisation level unfortunately this did not solve my issue so any advice is greatly appreciated. This is the error I'm getting
K so I actually figured this out more or less. It has something you do with pods, by commenting out
//module zlib [system] {
// header "include.h"
// link "z"
//{
it resolved the issue.
Related
I recently update XCode to 13.2.1 but my project now has compilation errors in place where never exist before. This is related to the library GRDB.swift for local DB.
I will appreciate any help. Thanks in advance.
I have resolved the issue by splitting the DB filters into multiple read db queue and appending all the results to a big one array of results. Maybe this is not the best practice for it but works for now and I will optimize in the future. Thanks everyone for help.
Especial thanks to #jnpdx for the idea
in my GFBProtocolBuffers.h, I am receiving this error at this line.
#import <Protobuf/Wrappers.pbobjc.h>
It says lexical or preprocessor Issue, 'Protobuf/Wrappers.pbobjc.h' file not found. I am not sure what is even going on here. If anyone has any clue on how to help me that would be appreciated, also if you know what is going on and could teach me.
I had this problem . I used all the methods mentioned on the internet but still doesn't work. Then I realized that all the header files not found was from cocoapods, so I re-installed the cocoapods using pod install, and thus solved the problem.
This happens in the package manager console. What does the red text mean?
After I run the command, the migration file is generated, but it's empty.
I can't find an answer anywhere else. I'm very frustrated. I've done a research in google but that error happens in many situations different than this one.
The solution to this problem was to "downgrade" Entity Framework to 6.1.3. I guess the cause was a bug with the beta version. I was using: 6.2.0 beta.
Thank you guys for pointing this out! Thank you Gert Arnold. You rock!
I have updated my Xcode to the latest version of 8.0
After the update, I am facing a new build error preventing me to run the project on the simulator.
The error is the below in DDXMLNode.m:
reference to 'XML_DOCUMENT_NODE' is ambiguous
I am using the XMPP framework as pods (pod 'XMPPFramework') so I still can't figure out a way to solve this.
Note that the project is working normally on the device and was working on both Device and Simulator with the previous Xcode Version.
I have tried to search the internet but I still didn't find any solution for this.
I tried to clean the project and delete everything in the DerivedData folder as well, but it didn't solve the issue.
Appreciate any help.
Actually I am posting this answer in case it may help someone in the future.
After searching a lot without finding any answer, I discovered the following:
There is a file called module.modulemap that contains 2 methods.
module libxml [system] {
header "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include/libxml2/libxml/tree.h"
export *
}
module libxmlSimu [system] {
header "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/include/libxml2/libxml/tree.h"
export *
}
The first one is used for real devices, the other one for the simulator.
However, when building the app on the simulator, and for a reason that I didnt figure it out, tree.h is being duplicated and causing all these issue.
So what I made to be able to run the project on the simulator was to comment the first method so the app can build successfully.
NB: Don't forget to uncomment the method once you want to run the project again on the real device.
Hope this will help anyone who will face the same issue.
i have tried some way.
I search the word XML_DOCUMENT_NODE with a result here:
then replace every error with the left symbol. It turns out to be OK for me now.
The code just crashes when an already running particle effect's setVisible property is changed to NO, and later turned to YES. I have been working with ParticleEffects for a while now but never have I faced this error before. I don't know where I am going wrong. Its so frustrating. Please any help would do wonders. Im using cocos2d 2.x, xCode5 and well ofcourse Ive generated my ParticleEffects through ParticleDesigner. Hoping someone will help me out here.Thanks though :)
I ran into this issue also and found that it was a cocos2d bug. The fix was added here https://github.com/cocos2d/cocos2d-x/pull/6032/files and you can copy the changes if you don't want to update. (Seems to have worked well for me anyways.)