Comments (5)
Adding the CRuntime bridging header broke it. Trying to fix it but having a little trouble. My cocoapods experience is pretty minimal.
from runtime.
Ahh, I gotcha. I just did a pod install
, built my app, and it seems to be working just fine now. Thanks for the quick turnaround!
from runtime.
Ah, ok. I manually added the missing const void * _Nullable swift_allocObject
function to the CRuntime.h file, and that got the build working as a temporary fix.
I saw your cocoapods branch on the CRuntime repo. Any luck?
from runtime.
Actually, I think the fix is really simple. I cloned the Runtime and CRuntime repos locally, then imported those local pods into my app, rather than using the Cocoapods master repo. The build succeeded when I did that (although there was a warning about not being able to process CRuntime/module.modulemap).
I checked cocoapods.org; it looks like it only has 2.0.1
as the latest version for CRuntime. I think all you need to do is a pod trunk push
to get the latest version (2.1.2) on Cocoapods.
from runtime.
I noticed I forgot to do that yesterday and pushed it, but when I tested it out it was still broken for me, so I deleted the trunk. Turns out the project I was using to test out Cocoapods has something else wrong with it. I created a new iOS project and confirmed it works. Guess I shouldn't have used a 2 year old unmaintained project to test it 😅
Anyways, pushed it again. Thanks for looking into that!
from runtime.
Related Issues (20)
- Tag 2.2.3 Release HOT 2
- Add support for Swift objects inherited from objective-c classes
- Is it possible to check two struct is equal by using Runtime?
- Is it possible to have support to closure replacement?
- can get/set properties via keypath? HOT 12
- Is it possible to get the enum case values/payloads? HOT 1
- Why is there an empty `podfile` in the root of the project?
- withValuePointer() sees object not as a class instance but an existential instance HOT 7
- Calling a function after using `createInstance()`
- Getting array<T> where T would be a specific type? HOT 1
- Constructing enum instances
- set an floating number to Float sometime fail. HOT 2
- Is it possible to Property Set to a nil value for an optional property? HOT 1
- Runtime tests fall over when run with address sanitizer HOT 2
- Runtime tests fall over when run with address sanitizer - Part2
- Instance creation failure when enum property types encountered HOT 1
- TypeInfo of class types crashes on linux for swift >= 5.4 HOT 2
- Is it possible to list the protocol list?
- Is it possible to support @propertyWrapper? HOT 1
- Crash when object as AnyObject.
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 runtime.