Comments (5)
Hey @ianbytchek,
thx for getting in touch.
Can you share a little bit more about how you are integrating the SDK (if you don't want to do so publicly, please send me an email to bereimol at my employer dot com, or get in touch through intercom – the blue button at the bottom right corner in the portal)?
You are right that we don't follow the Xcode convention as we haven't done that for HockeyApp for a while and it's not uncommon to simplify the structure within fake frameworks.
This leads me to why you are seeing the error. The App Center SDK is actually a static library and not a dynamic framework (HockeyApp is a dynamic framework). My guess is that you added the AppCenterPush.framework under "embed framework". Please make sure you this is not the case – the AppCenter*.frameworks need to be linked but not embedded (they need to appear in "Link Binary with Libraries").
Please let me know if this solves the issue for you and don't hesitate to get in touch!
Benjamin
from appcenter-sdk-apple.
Hey @TroubleMakerBen! I've created a Cocoa app in Xcode for testing purposes, I don't use CocoaPods and simply downloaded the release. Integrated AppCenter.framework
, AppCenterAnalytics.framework
and AppCenterCrashes.framework
by linking and embedding. Yes, AppCenterPush.framework
had some issues – I think it requires entitlements and additional provisioning, so I dumped it from the beginning. The app builds fine without signing, but fails with aforementioned error when signing is enabled:
My guess is that you added the AppCenterPush.framework under "embed framework". Please make sure you this is not the case – the AppCenter*.frameworks need to be linked but not embedded (they need to appear in "Link Binary with Libraries").
I think we're referring to different things. Unless I embed all linked non-system frameworks the distributed app won't run – loader won't find them and will 💥 !
I've seen similar Xcode behaviour in the past when it expects certain file structure of bundle / framework, which didn't make a lot of sense to me personally, but it is how it is. The app builds and runs since dependant frameworks resemble the conventional structure, but, apparently, certain tools, like codesign, need it to actually be conventional. Of course it can be manually signed, but I'm pretty sure we'd be better off with a proper solution?
from appcenter-sdk-apple.
Hey,
First, thx for making the gif above. This makes the conversation so much easier. I really appreciate you taking the time. That said, we are definitely talking about the same thing.
You are copying/embedding the frameworks in a phase in the "Build Phases" tab, which can't work for static libraries. Please simply link the libraries and don't embed them.
I've recorded a quick video.
Best,
Benjamin
from appcenter-sdk-apple.
Hey Ben, ok, I finally got what's going on. Apparently you're creating static frameworks – never witnessed on in the wild before! Makes perfect sense now, thanks! Working on and using @Gifox for gifs, emailed you a present. 🦊
from appcenter-sdk-apple.
Hey @ianbytchek,
Thx for the present, I was wondering what that one was about ^^
I'm sorry that I didn't explicitly say that App Center is a static framework, I've taken a note to be explicit about this and not assume people read that much between the lines.
Take care and let me know if there's anything else we can do for you. Oh, and thx for trying out App Center. =)
Benjamin
from appcenter-sdk-apple.
Related Issues (20)
- Update App Center SDK to include privacy manifest HOT 10
- Spawning lots of short lived threads when initialising `MSACCrashes` instance HOT 16
- Enable App Center will cause SwiftUI's accent color to disappear. HOT 7
- error: Signing for "AppCenter_AppCenterDistribute" requires a development team. HOT 3
- Unclear how to determine current AppCenter Distribute project HOT 4
- Add documentation for dataResidencyRegion HOT 3
- Crash at launch on macOS 11 ARM64 - setupLogBuffer HOT 3
- Crashes.trackError always shows MSACExceptionModel.initWithError: as the exception HOT 5
- trackError and trackException do not parse call stack correctly HOT 2
- Protobuf: could not find object file symbol for symbol HOT 20
- Slow network requests HOT 1
- Freeze on iOS Platform When App Crashes in KMM Project HOT 3
- AppCenter metrics and crash report errors. HOT 2
- Callbacks for PLCrashReporter are not exposed, resulting in an inability to flush logs HOT 1
- Need a way to push log immediately HOT 1
- Missing NSPrivacyAccessedAPITypeReasons in App Privacy Manifest. HOT 2
- AppCenter Podspec doesn't include the xcprivacy files HOT 8
- Build failed due to AppCenter not found error HOT 1
- Any Crash Report/Analytics Alternatives? HOT 2
- Privacy manifest formats are invalid and use wrong codes 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 appcenter-sdk-apple.