Module "CocoaLumberjackSwift" not found in latest wikipedia-ios app on XCode 9 - ios

I am using wikipedia-ios app for educational purposes, and I successfully used XCode 8 with it. But after the update I get the following error on trying to build the app:
Module "CocoaLumberjackSwift" not found
File: WMFLogging.h
I have used the scripts/setup from wiki's archive, and also I have cleaned the build (and all of the derived data). I even removed the project entirely and download it anew. Still I get the same error. Could someone please help me out with it?

Related

Undefined symbols for architecture x86_64: "_OBJC_CLASS_$_MobilePayManager"

I know there is a lot of similar errors out there, but i tried doing exactly what the answers said, and nothing helped.
I have now even created a completely new DemoProj (React-Native app), linked the repository the error is in, and i STILL get the same error.
The repository can be found here: https://github.com/Renetnielsen/DemoProj
If one fetches it and runs xcode, and runs that, you would get the same error.
I have no solution to this what so ever, especially since im no Objective C programmer.
Please please help me!!
The module react-native-appswitch is a small 2 function module, that just exports some IOS SDK functionality (https://developer.mobilepay.dk/appswitch-integration)
Complete Stacktrace: https://github.com/Renetnielsen/DemoProj/blob/master/README.md
Solutions tried
- Create completely new app, refered repo, installed, got error
- Ran on device, same error.
- Cleaned build folder, pods and so on - still error
- Linking binary files and so on
It needs to be fixed using 64 bit architecture, so using 32 is not an option, since ios does not support that any more as far as i know.

How to fix Undefined symbol error in Xcode?

I am developing a React-Native application, which has both an Android and iOS version.
When working in Xcode, I have had several errors, which included duplicated files and Mach-O Linker errors.
Right now I'm struggling with the following error.
This is the complete log with the error.
I also append some screenshots of my configuration.
It's a bit hard to deduce the problem with the given info (I appreciate you have tried to give a lot info but even still the error is so vague, it can be caused by multitudes of things)
If I were you, I would do the following
Create a bran new react-native app (lets call it buildMyIosApp for example)
Build and run that
Observe it building for ios (building buildMyIosApp through xcode works)
Change the react and react-native versions on buildMyIosApp to be the same as your project
Re-build buildMyIosApp
Compare the project setup of buildMyIosApp to your project
Hopefully you would be able to find the issue that way.

"TapkuLibrary/TapkuLibrary.h" File Not Found

I am trying to build my app but I received an error that "TapkuLibrary/TapkuLibrary.h" file not found but the file is added to my references.
I am not the one who did this project, this was just past to me without proper turn over.
I actually replaced my laptop and just open my source code from a new one with XCode 7.3.1
I also tried several solutions that I found here but still not working.
I'm also loosing some Link Binaries,

XCode - Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc failed with exit code 1

Lately I've started to take up a course for learning swift to devolp iOS OS X and Watch OS apps. I'm taking this course on udacity. The first step is to download a project and put it in a folder on your desktop. I had to open the app and then run it, which should've worked. But not for me somehow. I hit run and the following error showed up (this is the complete error log):
Some poeple suggested that I should update my XCode but I already have. I currently have XCode 7.3! I'm quite new to this platform, that's also why I'm doing this course, so I don't really know what I have to do. Can someone please tell me what's going on here?
This is the result of a corrupted swift class. If you encounter a class looking similar to the following code:
Ôæ≠fiÔæ≠fiqcaJÔæ≠fihJ0ç硡ˇ2ç硡ˇ$5y$ġˇˇ% 7.ġˇˇÔæ≠fiÔæ≠fiP‚—ġˇˇfl‚ġˇˇ ˗ġˇˇ∞B‚ġˇˇÄ+€
Try to re-create the class or re-download it. This solved my problem and to me, it would look like the only solution possible for a corrupted class.
Delete derived data.
Windows->Projects->select your project and delete derived data
This worked for me for couple of projects which i downloaded from internet.
I do everything restarts Xcode, rebuild Project, adding toolChains lock unlock them,
so there are two possibilities
first, maybe you install the beta version of Xcode
or try this, this work for me->
I tried to run a project in Xcode12/Swift4, while the project was written on Xcode8/Swift3
so I install Xcode version 11.7 and run this work for me.
if you not done with 11.7 then install another version of Xcode and try the appreciated version
May this help you

Opening import file for module 'Swift': Permission denied

As the title shows, I'm currently facing a problem in which I'm trying to add a Swift file to my ObjC project. The bridging header is generated and as soon as I'm trying to build, it stops with the error:
<unknown>:0: error: opening import file for module 'Swift': Permission denied
This only happens with 1 specific project (which is an old app that has been receiving updates once every year or so). A newer project can implement the swift file and build without any problems. I've compared the build settings but couldn't find any differences (and the ones that were there, eventually didn't cause the error).
I've attempted to remove all the Swift related data in the app and let it get generated again, which didn't work. I've also tried to build on both iOS8 and 8.1, but to no avail.
I'm currently out of ideas on what can cause it and I haven't been able to find anything on StackOverflow or Google in general about it so far.
The only method I've found and eventually have used is by creating a completely new Xcode project and restructuring/importing the old files. I've spent an Apple ticket on this project, but they haven't been able to help me out with this problem either.
So, my answer to this is; Create a new Xcode project if it's too outdated to implement Swift.

Resources