Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Th3odor3

macrumors regular
Original poster
Jun 19, 2018
143
35
Santa Clarita, CA, US
I want to compile open source Textual 6 to use on OSX Mojave. I'm running into some issues with Code Signing any of you have a compiled Textual 6 you can post here.
 
I want to compile open source Textual 6 to use on OSX Mojave. I'm running into some issues with Code Signing any of you have a compiled Textual 6 you can post here.
Just saw your post. If you want version 7.1, then I can provide it. I wouldn’t believe there is any benefit from wanting to use an older major version which lacks compatibility.
 
I'll write up a guide on how to build the Textual app version 7.x by pulling the source from GitHub. It's a fork of Limechat. In regards, to your searching for Textual version 6.x. I didn't realize it was still available but you can acquire it using Homebrew Cask. After installing Homebrew and then the tapping for Cask, then you can initiate a search for "textual". The version 6.x is actually the "textual-beta" cask.
[doublepost=1548877168][/doublepost]
I want to compile open source Textual 6 to use on OSX Mojave. I'm running into some issues with Code Signing any of you have a compiled Textual 6 you can post here.
BTW. If you were already wanting to build and having an issue for Code Signing, then give some more insight. It's fairly straightforward, as long as, you don't have any restrictions on your account, IP address, etc. which would keep you from being assigned one. You request a certificate via Keychain Access.
 
Instructions to build Textual from a clean project directory. If you've made attempts to build and they have failed, then you most likely have an incorrect configuration file for Xcode or your project. It's best to just start from the beginning. Research how to reset Xcode and remove any derived data from previous Textual builds with your project.
Prerequisites: Xcode 10.0 or newer (App Store), Code Signing Certificate (Keychain Access)
0. Open terminal and create a build directory to clone the source from GitHub.
1. Navigate to the build directory in terminal.
2. Clone Textual from GitHub using terminal:
Code:
git clone https://github.com/Codeux-Software/Textual.git Textual
3. Navigate to the newly created Textual sub-directory of your build directory using terminal.
4. Pull the software modules which Textual is dependent upon:
Code:
git submodule update --init --recursive
5. Navigate to the sub-directory "Build" which should be located at "(Created Build Directory in Step 0)/Textual/Configurations/Build/".
6. Open the file "Code Signing Identity.xcconfig" with your choice of text editor. Example: pico. (Xcode is not a text editor)
7. Edit the "CODE_SIGN_IDENTITY = Mac Developer: (Enter your code signing identity from your requested certificate stored in Keychain Access)"
8. Edit the "DEVELOPMENT_TEAM = (Leave or delete characters until it is empty)"
9. Edit the "PROVISIONING_PROFILE_SPECIFIER = (Leave or delete characters until it is empty)"
10. Save the changes to this file and close the text editor.
11. Navigate to the sub-directory "Standard Release".
12. Open the file "Enabled Features.xcconfig" with the previously used text editor.
13. Edit the the following string to match "TEXTUAL_BUILT_WITH_LICENSE_MANAGER=0".
14. Save the changes to this file and close the text editor.
15. Open Xcode and open the file "Textual.xcworkspace".
16. Xcode will index and process files for building your project. After this is completed, select "Textual (Standard Release)" from the menu for your workspace.
17. The menu for Project target in the workspace window can be "Textual App".
18. Select 'Product > Build' from the Xcode menu.
19. You should receive confirmation that the build was successful.
20. Navigate to "(Created Build Directory in Step 0)/Textual/Build Results/" and copy the Textual.app to your Applications folder.

BTW. This information is provided on the GitHub page for Textual. Also, it is not required to have an Apple Developer account to obtain a code signing certificate. Just create a self-signed certificate.
https://developer.apple.com/library...l/CodeSigningGuide/Procedures/Procedures.html
 
Last edited:
I've been searching for a guide on how to build this project, and your instructions are the best I have found.

However, my build is failing with:

Ld /Users/biff/Documents/Git/Textual/.tmp/SharedBuildProducts-Frameworks/EncryptionKit.framework/Versions/A/EncryptionKit normal x86_64 (in target 'EncryptionKit.framework' from project 'Encryption Kit') cd /Users/biff/Documents/Git/Textual/Frameworks/Encryption\ Kit /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target x86_64-apple-macos10.12 -dynamiclib -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -L/Users/biff/Documents/Git/Textual/.tmp/SharedBuildProducts-Frameworks -LLibraries/Libraries -F/Users/biff/Documents/Git/Textual/.tmp/SharedBuildProducts-Frameworks -filelist /Users/biff/Documents/Git/Textual/Frameworks/Encryption\ Kit/build/Encryption\ Kit.build/Release/EncryptionKit.framework.build/Objects-normal/x86_64/EncryptionKit.LinkFileList -Xlinker -no_pie -install_name @rpath/EncryptionKit.framework/Versions/A/EncryptionKit -Xlinker -rpath -Xlinker @loader_path/../Frameworks -dead_strip -fobjc-arc -fobjc-link-runtime -framework AppKit -framework Foundation -lgcrypt -lgpg-error -lotr -Xlinker -dependency_info -Xlinker /Users/biff/Documents/Git/Textual/Frameworks/Encryption\ Kit/build/Encryption\ Kit.build/Release/EncryptionKit.framework.build/Objects-normal/x86_64/EncryptionKit_dependency_info.dat -o /Users/biff/Documents/Git/Textual/.tmp/SharedBuildProducts-Frameworks/EncryptionKit.framework/Versions/A/EncryptionKit Undefined symbols for architecture x86_64: "___darwin_check_fd_set_overflow", referenced from: __gcry_rndlinux_gather_random in libgcrypt.a(rndlinux.o) ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

Any suggestions?
This is using XCode 11.3.1 on Mojave

Jim
 
i'm trying to compile in big sur on a 2018 intel core i7 mac mini and get:

/Users/fabian/Documents/GitHub/Textual/Sources/App/Textual App.xcodeproj The linked and embedded framework 'EncryptionKit.framework' is missing one or more architectures required by this target: arm64.

i have updated my GitHub Textual repo clone and run the submodule download as well.

i'm stuck...
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.