stats
stats copied to clipboard
About contributing to the project
I've been using stats for more than 2 years now and I love it.
I recently tried running the source code on my machine and encountered several issues while doing this.
It would be great if you added a section in README.md showing the steps to clone, explore, and run the project.
Hi. Thanks for the feedback) Yeap, I think it could be added.
Hi. Thanks for the feedback) Yeap, I think it could be added.
Are there any updates regarding the build and run process?
hmm, there must be no problem with building and running. Clone the project -> open Xcode -> select profile -> build/run
hmm, there must be no problem with building and running. Clone the project -> open Xcode -> select profile -> build/run
Thanks for your quick reply. I already tried to do so. Changed the signing certificate to Sign to Run Localy for all modules and started the build process. I encountered these errors:
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "PrivateHeaders/Kit.h"
^
/Users/ahmedmahmoud/Developer/macos_apps/stats/Kit/Supporting Files/Kit.h:20:9: error: include of non-modular header inside framework module 'Kit': '/Users/ahmedmahmoud/Developer/macos_apps/stats/Kit/lldb/lldb.h'
#import "lldb.h"
^
<unknown>:0: error: could not build Objective-C module 'Kit'
Screenshot 1
Include of non-modular header inside framework module 'Kit': '/Users/ahmedmahmoud/Developer/macos_apps/stats/Kit/lldb/lldb.h'
Screenshot 2
This is the file structure for level DB lldb
Screenshot 3
My Specs:
macOS: Ventura 13.3.1 (22E261) Xcode: 14.3.1
Clang
Apple clang version 14.0.3 (clang-1403.0.22.14.1)
Target: x86_64-apple-darwin22.4.0
Thread model: posix
InstalledDir: /Applications/Xcode 14.3.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
make
GNU Make 3.81
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
This program built for i386-apple-darwin11.3.0
Oh, why do you change the signing certificate?
Try this: target-> build settings->Allow non-modular includes in Framework Modules switch to YES
@exelban
Oh, why do you change the signing certificate?
Try this: target-> build settings->Allow non-modular includes in Framework Modules switch to YES
I appreciate your suggestion.
When running the project directly without changing the signing cert to Sign to Run Localy .
Screenshot 1
I tried changing Allow non-modular includes in Framework Modules
to YES
but the issue persists.
I had to change the signing certificate to Sign to Run Locally for all modules and started the build process.
Screenshots 2-3
You have selected the signing certificate as the developer id. So you need to specify the team.
Just select Sign to Run Locally
and team as None
.
You have selected the signing certificate as the developer id. So you need to specify the team. Just select
Sign to Run Locally
and team asNone
.
Already did that and tried to build the project, but then I encountered errors in Screenshots 2-3.
Hi. I just have a fresh install on a new Mac. And everything works just fine without any tweaks. So I don't see a reason for that.