-
-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BLOCKING] cannot build iOS application #1
Labels
bug
Something isn't working
Comments
AndrewDongminYoo
added a commit
that referenced
this issue
Mar 6, 2023
This is the implementation of the `sendEventWithName:body:` method in the `RCTEventEmitter` class in React Native. This method is used to send events from a native module to the JavaScript side of a React Native app. Issue [BLOCKING] cannot build iOS application #1
AndrewDongminYoo
added a commit
that referenced
this issue
Mar 13, 2023
… .mm React Native’s architecture can include both .h and .mm files. According to the React Native documentation, all .m files within the AppName inner folder should be renamed from .m to .mm. Objective-C++ is an extension of Objective-C that allows you to use C++ code within an Objective-C program. [BLOCKING] cannot build iOS application #1
개선한 부분들
앱은 이제 무사히 잘 빌드되기 때문에 이 이슈는 닫는다. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expected Behavior
Actual Behavior
Error Log looks like...
❌. @dongminyu/react-native-step-counter/ios/RNStepCounter.mm:45:48:
expected a type
❌ @dongminyu/react-native-step-counter/ios/RNStepCounter.mm:17:30:
use of undeclared identifier 'CMPedometer'
@"supported": @([CMPedometer isStepCountingAvailable]), ^
❌ @dongminyu/react-native-step-counter/ios/RNStepCounter.mm:28:11:
property 'pedometer' not found on object of type 'RNStepCounter *'
❌ @dongminyu/react-native-step-counter/ios/RNStepCounter.mm:30:50:
type-id cannot have a name
❌ @dongminyu/react-native-step-counter/ios/RNStepCounter.mm:30:66:
expected ')'
❌ @dongminyu/react-native-step-counter/ios/RNStepCounter.mm:30:48:
C++ requires a type specifier for all declarations
❌ @dongminyu/react-native-step-counter/ios/RNStepCounter.mm:31:53:
use of undeclared identifier 'pedometerData'
handler(@[[self dictionaryFromPedometerData:pedometerData]]); ^
❌ @dongminyu/react-native-step-counter/ios/RNStepCounter.mm:36:11:
property 'pedometer' not found on object of type 'RNStepCounter *'
❌ @dongminyu/react-native-step-counter/ios/RNStepCounter.mm:37:53:
type-id cannot have a name
❌ @dongminyu/react-native-step-counter/ios/RNStepCounter.mm:37:69:
expected ')'
❌ @dongminyu/react-native-step-counter/ios/RNStepCounter.mm:37:51:
C++ requires a type specifier for all declarations
❌ @dongminyu/react-native-step-counter/ios/RNStepCounter.mm:38:13:
use of undeclared identifier 'pedometerData'
if (pedometerData) { ^
❌ @dongminyu/react-native-step-counter/ios/RNStepCounter.mm:39:19:
no visible @interface for 'RNStepCounter' declares the selector 'sendEventWithName:body:'
[self sendEventWithName:@"StepCounter.stepCounterUpdate" ^
❌ @dongminyu/react-native-step-counter/ios/RNStepCounter.mm:55:54:
property 'startDate' not found on object of type '__strong id'
@"startDate": [formatter stringFromDate:data.startDate]?:[NSNull null], ~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
❌ @dongminyu/react-native-step-counter/ios/RNStepCounter.mm:56:52:
property 'endDate' not found on object of type '__strong id'
@"endDate": [formatter stringFromDate:data.endDate]?:[NSNull null], ^
❌ @dongminyu/react-native-step-counter/ios/RNStepCounter.mm:57:24:
property 'numberOfSteps' not found on object of type '__strong id'
@"steps": data.numberOfSteps?:[NSNull null], ^
❌ @dongminyu/react-native-step-counter/ios/RNStepCounter.mm:58:27:
property 'distance' not found on object of type '__strong id'
@"distance": data.distance?:[NSNull null], ^
❌ @dongminyu/react-native-step-counter/ios/RNStepCounter.mm:60:33:
property 'floorsAscended' not found on object of type '__strong id'
@"floorsAscended": data.floorsAscended?:[NSNull null], ^
❌ @dongminyu/react-native-step-counter/ios/RNStepCounter.mm:61:34:
property 'floorsDescended' not found on object of type '__strong id'
@"floorsDescended": data.floorsDescended?:[NSNull null], ^
Steps to Reproduce the Problem
npx react-native run-ios --configuration Release
Specifications
The text was updated successfully, but these errors were encountered: