Comments (14)
Further experimentation...
Once I signed the inform.app with the --deep
command line option, I could actually run Inform for the first time from a build. Copying it from this obscure xcode location (/Users/wmodes/Library/Developer/Xcode/DerivedData/Inform-gzkwiqfmupwuzfcumalzutqxrtdm/Build/Intermediates.noindex/ArchiveIntermediates/Inform/InstallationBuildProductsLocation/Applications/Inform.app
) to my apps directory, I was good to go.
So this indicates a couple things:
- The build doesn't seem to work with the
--local
config options, i.e., "Sign to Run Locally" - The build DOES seem to work with the
--develop
config option with the Developer Team ID. But... - The final signing fails because there is some package in there that doesn't inherit the signing team from the xcode project
I haven't tested yet whether this solves the original problem of the slow text using the zoom header files you passed me.
Testing....
Turns out, nope.
Oh wait, I haven't done this little tidbit from Petter Sjölund yet:
If you add the lines
- (NSTouchBar *)makeTouchBar { return nil; }
somewhere in IFSourceFileView.m and build Inform from source, the problem goes away.
Now when I rebuild...
IT WORKS. Daaaanm, thanks. This is the first time I've been able to work on my project in months.
from inform.
If you are willing to experiment a little:
Try unzipping the enclosed file in the 'zoom/build' directory (make the 'build' directory if you don't have it) and try building the Inform App in Xcode again.
from inform.
It's a signing issue. From the output you quote: "GlkSound' not valid for use in process: mapped file has no Team ID and is not a platform binary (signed with custom identity or adhoc?)". Sorry, I think you need an Apple Developer ID.
When I have time, I'll have to try the hack suggested above. If it works I'll get a new version out.
from inform.
I don't have a fix for this issue yet, but you might like to know about a possible workaround in v10.1.2:
- In Preferences->Editing, turn off 'Enable Styles'
- In Preferences->Colour, turn off 'Enable Colouring'
Obviously this turns off all the syntax highlighting so this is not a great solution. But I hope the text editing speed should be more acceptable.
from inform.
Also, if you build the Inform IDE from the source yourself, this hack (disabling the touch bar) still works:
https://intfiction.org/t/inform7-ide-slow-editing/49086/24
from inform.
I wondered if that hack still works. I've never built Inform from source and found Tony's instructions. Unfortunately, it skips over the entire code build which I've never done. Anyone have any pointers to completing that build?
from inform.
Well, I figured it out, but that didn't go well.
'interp_z3.h' file not found in interp.c:
#ifdef HAVE_COMPUTED_GOTOS
# define TABLES_ONLY
# include "interp_z3.h"
# include "interp_z4.h"
# include "interp_z5.h"
# include "interp_z6.h"
# undef TABLES_ONLY
from inform.
Well, I was willing to experiment. Thanks @TobyLobster for the pre-build zoom files. I tried variations on signing the source as Mac Developer, Apple Developer, and Sign to Run Locally because I didn't have an Apple Developer ID. All happily build (via Archive) successfully. However, the Inform.app seemed to quietly crash.
I tried going into Inform.app/Contents/MacOS and running Inform directly. I got:
MacOS % ./Inform
dyld[30694]: Library not loaded: '@rpath/GlkSound.framework/Versions/A/GlkSound'
Referenced from: '/Applications/Inform.app/Contents/MacOS/Inform'
Reason: tried: '/usr/lib/swift/GlkSound.framework/Versions/A/GlkSound' (no such file), '/Applications/Inform.app/Contents/MacOS/../Frameworks/GlkSound.framework/Versions/A/GlkSound' (code signature in <D3B99BC3-7415-383A-9666-C3FA969A61DF> '/Applications/Inform.app/Contents/Frameworks/GlkSound.framework/Versions/A/GlkSound' not valid for use in process: mapped file has no Team ID and is not a platform binary (signed with custom identity or adhoc?)), '/usr/lib/swift/GlkSound.framework/Versions/A/GlkSound' (no such file), '/Applications/Inform.app/Contents/MacOS/../Frameworks/GlkSound.framework/Versions/A/GlkSound' (code signature in <D3B99BC3-7415-383A-9666-C3FA969A61DF> '/Applications/Inform.app/Contents/Frameworks/GlkSound.framework/Versions/A/GlkSound' not valid for use in process: mapped file has no Team ID and is not a platform binary (signed with custom identity or adhoc?)), '/System/Library/Frameworks/GlkSound.framework/Versions/A/GlkSound' (no such file)
[1] 30694 abort ./Inform
Looks like GlkSound didn't build?
Sad face. This is new territory, so apologies for what are probably noob errors.
from inform.
@TonyLobster, it seemed your --local
param in config.py didn't do anything.
I thought it would be useful to have a --local
param that set CODE_SIGN_IDENTITY
to -
which is apparently xcode's designation for "Sign to Run Locally"
When I configured the build with Sign to Run Locally and with my Developer Team ID (retrieved from my keychain), I no longer had the signing issue. However, I had another problem (below). Here's the modified configure.py
from inform.
Okay, when I ran the inform.app
here's what I got (partial):
Termination Reason: Namespace DYLD, Code 1 Library missing
Library not loaded: '@rpath/GlkSound.framework/Versions/A/GlkSound'
Referenced from: '/Applications/Inform.app/Contents/MacOS/Inform'
Reason: tried: '' (no such file), '' (code signature in <D3B99BC3-7415-383A-9666-C3FA969A61DF> '' not valid for use in process: mapped file has no Team ID and is not a platform binary (signed with custom identity or adhoc?)), '' (no such file), '' (code signature in <D3B99BC3-7415-383A-9666-C3FA969A61DF> '' not valid for use in process: mapped file has no Team ID and is not a platform binary (signed with custom identity or adh
(terminated at launch; ignore backtrace)
So interestingly, GlkSound still had a signing issue.
from inform.
Interestingly, when i sign with my Developer Team ID using the --develop
flag, the build fails at the last step trying to sign the inform.app
with the following:
CodeSign /Users/wmodes/Library/Developer/Xcode/DerivedData/Inform-gzkwiqfmupwuzfcumalzutqxrtdm/Build/Intermediates.noindex/ArchiveIntermediates/Inform/InstallationBuildProductsLocation/Applications/Inform.app (in target 'Inform' from project 'Inform')
cd /Users/wmodes/dev/inform-build/Inform/inform
Signing Identity: "Apple Development: [email protected] (WXH9UQURVG)"
/usr/bin/codesign --force --sign D8C39DC04CC612A0B96F106603CA717C5D93F01C -o runtime --entitlements /Users/wmodes/Library/Developer/Xcode/DerivedData/Inform-gzkwiqfmupwuzfcumalzutqxrtdm/Build/Intermediates.noindex/ArchiveIntermediates/Inform/IntermediateBuildFilesPath/Inform.build/Release/Inform.build/Inform.app.xcent --generate-entitlement-der /Users/wmodes/Library/Developer/Xcode/DerivedData/Inform-gzkwiqfmupwuzfcumalzutqxrtdm/Build/Intermediates.noindex/ArchiveIntermediates/Inform/InstallationBuildProductsLocation/Applications/Inform.app
/Users/wmodes/Library/Developer/Xcode/DerivedData/Inform-gzkwiqfmupwuzfcumalzutqxrtdm/Build/Intermediates.noindex/ArchiveIntermediates/Inform/InstallationBuildProductsLocation/Applications/Inform.app: code object is not signed at all
In subcomponent: /Users/wmodes/Library/Developer/Xcode/DerivedData/Inform-gzkwiqfmupwuzfcumalzutqxrtdm/Build/Intermediates.noindex/ArchiveIntermediates/Inform/InstallationBuildProductsLocation/Applications/Inform.app/Contents/MacOS/6M62/ni
Command CodeSign failed with a nonzero exit code
Experimenting on the command line, I get the same error with the codesign
command, but the --deep
command line option works. But it feels a little hacky.
from inform.
I'm so glad you got up and running, that's good to hear! I'll put out a new version when I get a moment. Busy on other things right now, but soon (crosses fingers).
from inform.
I would be glad to see this as part of the release.
from inform.
This should be fixed now.
from inform.
Related Issues (20)
- "Replay" button is replaying actions in reverse HOT 1
- Status field is vertically misaligned HOT 3
- Status field disappears if dragged from Customize Toolbar menu HOT 1
- Won't compile on Apple Silicon due to "Build Active Architecture Only" settings HOT 1
- Inform Help menu item does nothing HOT 1
- Testing panel (skein) blank after running Extension Project test HOT 8
- Save As… menu item does nothing HOT 1
- Interpreter falsely claims to support line input echo suppression HOT 5
- IFTF logo isn't transparent HOT 1
- Links in Report view not working after compiling legacy version HOT 2
- CocoaGlk: AddressSanitizer: dynamic-stack-buffer-overflow in GlkTypesetter.m HOT 4
- Preference pane is obscured behind dock
- Dark Mode for Story View
- Issues w/launching from outside IDE on MacOS HOT 3
- accessibility (colorblind options) HOT 2
- Contents View Displays White Text on Light Background (Text Unreadable) HOT 3
- Heap buffer overflow in [IFSyntaxData styleAtEndOfLine:] HOT 1
- Inform 6 inclusions unreadable in dark mode HOT 1
- glk_buffer_to_title_case_uni() crashes HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from inform.